300{
302 Datum result = 0;
303 Datum geometry_array = 0;
304
305 if (PG_ARGISNULL(0))
306 PG_RETURN_NULL();
307
309
311 {
312 elog(ERROR, "Tolerance not defined");
313 PG_RETURN_NULL();
314 }
315
318 if (!result)
319 PG_RETURN_NULL();
320
321 PG_RETURN_DATUM(result);
322}
Datum cluster_within_distance_garray(PG_FUNCTION_ARGS)
Datum pgis_accum_finalfn(CollectionBuildState *state, MemoryContext mctx, FunctionCallInfo fcinfo)
Datum PGISDirectFunctionCall2(PGFunction func, Datum arg1, Datum arg2)
A modified version of PostgreSQL's DirectFunctionCall2 which allows NULL results; this is required fo...
Datum data[CollectionBuildStateDataSize]