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

Definition at line 105 of file lwgeom_functions_basic.c.

References dumpnode::geom.

106 {
107  GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
108  size_t size = VARSIZE(geom);
109  PG_FREE_IF_COPY(geom,0);
110  PG_RETURN_INT32(size);
111 }
LWGEOM * geom