PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ pgis_geometry_union_parallel_deserialfn()

Datum pgis_geometry_union_parallel_deserialfn ( PG_FUNCTION_ARGS  )

Definition at line 135 of file lwgeom_union.c.

136 {
137  MemoryContext aggcontext, old;
138  UnionState *state;
139  bytea *serialized;
140 
141  GetAggContext(&aggcontext);
142 
143  serialized = PG_GETARG_BYTEA_P(0);
144 
145  old = MemoryContextSwitchTo(aggcontext);
146  state = state_deserialize(serialized);
147  MemoryContextSwitchTo(old);
148 
149  PG_RETURN_POINTER(state);
150 }
#define GetAggContext(aggcontext)
Definition: lwgeom_union.c:16
static UnionState * state_deserialize(const bytea *serialized)
Definition: lwgeom_union.c:219

References GetAggContext, and state_deserialize().

Here is the call graph for this function: