PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ LWGEOM_to_bytea()

Datum LWGEOM_to_bytea ( PG_FUNCTION_ARGS  )

Definition at line 807 of file lwgeom_inout.c.

References LWGEOM_from_bytea(), PG_FUNCTION_INFO_V1(), and WKBFromLWGEOM().

Referenced by LWGEOM_send().

808 {
809  POSTGIS_DEBUG(2, "LWGEOM_to_bytea called");
810 
811  PG_RETURN_POINTER(
812  DatumGetPointer(
813  DirectFunctionCall1(
815  PG_GETARG_DATUM(0)
816  )));
817 }
Datum WKBFromLWGEOM(PG_FUNCTION_ARGS)
Definition: lwgeom_inout.c:422
Here is the call graph for this function:
Here is the caller graph for this function: