PostGIS  3.4.0dev-r@@SVN_REVISION@@
lwgeom_union.c File Reference
#include <assert.h>
#include <stdbool.h>
#include <string.h>
#include "postgres.h"
#include "fmgr.h"
#include "utils/varlena.h"
#include "../postgis_config.h"
#include "liblwgeom.h"
#include "lwgeom_log.h"
#include "lwgeom_pg.h"
#include "lwgeom_union.h"
Include dependency graph for lwgeom_union.c:

Go to the source code of this file.

Macros

#define GetAggContext(aggcontext)
 
#define CheckAggContext()   GetAggContext(NULL)
 

Functions

Datum pgis_geometry_union_parallel_transfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_union_parallel_combinefn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_union_parallel_serialfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_union_parallel_deserialfn (PG_FUNCTION_ARGS)
 
Datum pgis_geometry_union_parallel_finalfn (PG_FUNCTION_ARGS)
 
static UnionStatestate_create (void)
 
static void state_append (UnionState *state, const GSERIALIZED *gser)
 
static bytea * state_serialize (const UnionState *state)
 
static UnionStatestate_deserialize (const bytea *serialized)
 
static void state_combine (UnionState *state1, UnionState *state2)
 
static LWGEOMgserialized_list_union (List *list, float8 gridSize)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_union_parallel_transfn)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_union_parallel_combinefn)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_union_parallel_serialfn)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_union_parallel_deserialfn)
 
 PG_FUNCTION_INFO_V1 (pgis_geometry_union_parallel_finalfn)