PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ LWGEOM_to_bytea()

Datum LWGEOM_to_bytea ( PG_FUNCTION_ARGS  )

Definition at line 808 of file lwgeom_inout.c.

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

Referenced by LWGEOM_send().

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