PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ LWGEOM_to_bytea()

Datum LWGEOM_to_bytea ( PG_FUNCTION_ARGS  )

Definition at line 786 of file lwgeom_inout.c.

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

Referenced by LWGEOM_send().

787 {
788  POSTGIS_DEBUG(2, "LWGEOM_to_bytea called");
789 
790  PG_RETURN_POINTER(
791  DatumGetPointer(
792  DirectFunctionCall1(
793  WKBFromLWGEOM,
794  PG_GETARG_DATUM(0)
795  )));
796 }
Datum WKBFromLWGEOM(PG_FUNCTION_ARGS)
Definition: lwgeom_inout.c:398
Here is the call graph for this function:
Here is the caller graph for this function: