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

◆ pgis_asflatgeobuf_finalfn()

Datum pgis_asflatgeobuf_finalfn ( PG_FUNCTION_ARGS  )

Definition at line 83 of file lwgeom_out_flatgeobuf.c.

84{
85 uint8_t *buf;
87 if (!AggCheckCallContext(fcinfo, NULL))
88 elog(ERROR, "pgis_asflatgeobuf_finalfn called in non-aggregate context");
89
90 if (PG_ARGISNULL(0))
91 PG_RETURN_NULL();
92
93 ctx = (flatgeobuf_agg_ctx *) PG_GETARG_POINTER(0);
94 buf = flatgeobuf_agg_finalfn(ctx);
95 PG_RETURN_BYTEA_P(buf);
96}
uint8_t * flatgeobuf_agg_finalfn(struct flatgeobuf_agg_ctx *ctx)
Finalize aggregation.
Definition flatgeobuf.c:557

References flatgeobuf_agg_finalfn().

Here is the call graph for this function: