PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ pgis_geometry_accum_finalfn()

Datum pgis_geometry_accum_finalfn ( PG_FUNCTION_ARGS  )

Definition at line 209 of file lwgeom_accum.c.

210 {
211  pgis_abs *p;
212  Datum result = 0;
213 
214  if (PG_ARGISNULL(0))
215  PG_RETURN_NULL(); /* returns null iff no input values */
216 
217  p = (pgis_abs*) PG_GETARG_POINTER(0);
218 
219  result = pgis_accum_finalfn(p, CurrentMemoryContext, fcinfo);
220 
221  PG_RETURN_DATUM(result);
222 
223 }
Datum pgis_accum_finalfn(pgis_abs *p, MemoryContext mctx, FunctionCallInfo fcinfo)
To pass the internal ArrayBuildState pointer between the transfn and finalfn we need to wrap it into ...
Definition: lwgeom_accum.c:108

References pgis_accum_finalfn().

Here is the call graph for this function: