PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ LWGEOM_noop()

Datum LWGEOM_noop ( PG_FUNCTION_ARGS  )

Definition at line 1910 of file lwgeom_functions_basic.c.

1911 {
1912  GSERIALIZED *in = PG_GETARG_GSERIALIZED_P(0);
1913  LWGEOM *lwgeom = lwgeom_from_gserialized(in);
1914  GSERIALIZED *out = geometry_serialize(lwgeom);
1915  lwgeom_free(lwgeom);
1916  PG_FREE_IF_COPY(in, 0);
1917  PG_RETURN_POINTER(out);
1918 }
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
Definition: gserialized.c:239
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1138
GSERIALIZED * geometry_serialize(LWGEOM *lwgeom)

References geometry_serialize(), lwgeom_free(), and lwgeom_from_gserialized().

Here is the call graph for this function: