PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ pgis_geometry_union_parallel_finalfn()

Datum pgis_geometry_union_parallel_finalfn ( PG_FUNCTION_ARGS  )

Definition at line 154 of file lwgeom_union.c.

155 {
156  UnionState *state;
157  LWGEOM *geom = NULL;
158 
159  CheckAggContext();
160 
161  state = (UnionState*)PG_GETARG_POINTER(0);
162  geom = gserialized_list_union(state->list, state->gridSize);
163  if (!geom)
164  PG_RETURN_NULL();
165  PG_RETURN_POINTER(geometry_serialize(geom));
166 }
static LWGEOM * gserialized_list_union(List *list, float8 gridSize)
Definition: lwgeom_union.c:268
#define CheckAggContext()
Definition: lwgeom_union.c:20
List * list
Definition: lwgeom_union.h:10
float8 gridSize
Definition: lwgeom_union.h:9

References CheckAggContext, UnionState::gridSize, gserialized_list_union(), and UnionState::list.

Here is the call graph for this function: