PostGIS  3.0.6dev-r@@SVN_REVISION@@
lwgeom_accum.c File Reference
#include "postgres.h"
#include "fmgr.h"
#include "funcapi.h"
#include "access/tupmacs.h"
#include "utils/datum.h"
#include "utils/array.h"
#include "utils/lsyscache.h"
#include "../postgis_config.h"
#include "liblwgeom.h"
#include "lwgeom_geos.h"
#include "lwgeom_pg.h"
#include "lwgeom_transform.h"
#include "lwgeom_accum.h"
Include dependency graph for lwgeom_accum.c:

Go to the source code of this file.

Functions

Datum PGISDirectFunctionCall1 (PGFunction func, Datum arg1)
 A modified version of PostgreSQL's DirectFunctionCall1 which allows NULL results; this is required for aggregates that return NULL. More...
 
Datum PGISDirectFunctionCall2 (PGFunction func, Datum arg1, Datum arg2)
 A modified version of PostgreSQL's DirectFunctionCall2 which allows NULL results; this is required for aggregates that return NULL. More...
 
Datum pgis_geometry_accum_transfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_collect_finalfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_polygonize_finalfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_makeline_finalfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_clusterintersecting_finalfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_clusterwithin_finalfn (PG_FUNCTION_ARGS)
 
Datum pgis_union_geometry_array (PG_FUNCTION_ARGS)
 
Datum LWGEOM_collect_garray (PG_FUNCTION_ARGS)
 
Datum polygonize_garray (PG_FUNCTION_ARGS)
 
Datum clusterintersecting_garray (PG_FUNCTION_ARGS)
 
Datum cluster_within_distance_garray (PG_FUNCTION_ARGS)
 
Datum LWGEOM_makeline_garray (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_accum_transfn)
 The transfer function builds a List of LWGEOM* allocated in the aggregate memory context. More...
 
Datum pgis_accum_finalfn (CollectionBuildState *state, MemoryContext mctx, FunctionCallInfo fcinfo)
 
Datum pgis_accum_finalfn (CollectionBuildState *state, MemoryContext mctx, __attribute__((__unused__)) FunctionCallInfo fcinfo)
 The final function reads the List of LWGEOM* from the aggregate memory context and constructs an Array using construct_md_array() More...
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_collect_finalfn)
 The "collect" final function passes the geometry[] to a geometrycollection conversion before returning the result. More...
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_polygonize_finalfn)
 The "polygonize" final function passes the geometry[] to a polygonization before returning the result. More...
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_makeline_finalfn)
 The "makeline" final function passes the geometry[] to a line builder before returning the result. More...
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_clusterintersecting_finalfn)
 The "clusterintersecting" final function passes the geometry[] to a clustering function before returning the result. More...
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_clusterwithin_finalfn)
 The "cluster_within_distance" final function passes the geometry[] to a clustering function before returning the result. More...