PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ LWGEOM_mem_size()

Datum LWGEOM_mem_size ( PG_FUNCTION_ARGS  )

Definition at line 120 of file lwgeom_functions_basic.c.

References dumpnode::geom, LWGEOM_summary(), and PG_FUNCTION_INFO_V1().

121 {
122  GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
123  size_t size = VARSIZE(geom);
124  PG_FREE_IF_COPY(geom,0);
125  PG_RETURN_INT32(size);
126 }
LWGEOM * geom
Here is the call graph for this function: