PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ LWGEOM_to_bytea()

Datum LWGEOM_to_bytea ( PG_FUNCTION_ARGS  )

Definition at line 810 of file lwgeom_inout.c.

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

Referenced by LWGEOM_send().

811 {
812  POSTGIS_DEBUG(2, "LWGEOM_to_bytea called");
813 
814  PG_RETURN_POINTER(
815  DatumGetPointer(
816  DirectFunctionCall1(
818  PG_GETARG_DATUM(0)
819  )));
820 }
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: