PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ pgis_geometry_clusterintersecting_finalfn()

Datum pgis_geometry_clusterintersecting_finalfn ( PG_FUNCTION_ARGS  )

Definition at line 275 of file lwgeom_accum.c.

276{
278 Datum result = 0;
279 Datum geometry_array = 0;
280
281 if (PG_ARGISNULL(0))
282 PG_RETURN_NULL();
283
284 p = (CollectionBuildState*) PG_GETARG_POINTER(0);
285 geometry_array = pgis_accum_finalfn(p, CurrentMemoryContext, fcinfo);
286 result = PGISDirectFunctionCall1( clusterintersecting_garray, geometry_array );
287 if (!result)
288 PG_RETURN_NULL();
289
290 PG_RETURN_DATUM(result);
291}
Datum pgis_accum_finalfn(CollectionBuildState *state, MemoryContext mctx, FunctionCallInfo fcinfo)
Datum PGISDirectFunctionCall1(PGFunction func, Datum arg1)
A modified version of PostgreSQL's DirectFunctionCall1 which allows NULL results; this is required fo...
Datum clusterintersecting_garray(PG_FUNCTION_ARGS)

References clusterintersecting_garray(), pgis_accum_finalfn(), and PGISDirectFunctionCall1().

Here is the call graph for this function: