PostGIS  2.5.0dev-r@@SVN_REVISION@@
Datum LWGEOM_mem_size ( PG_FUNCTION_ARGS  )

Definition at line 121 of file lwgeom_functions_basic.c.

References dumpnode::geom.

122 {
123  GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
124  size_t size = VARSIZE(geom);
125  PG_FREE_IF_COPY(geom,0);
126  PG_RETURN_INT32(size);
127 }
LWGEOM * geom