PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ geography_send()

Datum geography_send ( PG_FUNCTION_ARGS  )

Definition at line 583 of file geography_inout.c.

584 {
585  GSERIALIZED *g = PG_GETARG_GSERIALIZED_P(0);
586  LWGEOM *lwgeom = lwgeom_from_gserialized(g);
587  PG_RETURN_POINTER(lwgeom_to_wkb_varlena(lwgeom, WKB_EXTENDED));
588 }
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
Definition: gserialized.c:239
#define WKB_EXTENDED
Definition: liblwgeom.h:2177
lwvarlena_t * lwgeom_to_wkb_varlena(const LWGEOM *geom, uint8_t variant)
Definition: lwout_wkb.c:851

References lwgeom_from_gserialized(), lwgeom_to_wkb_varlena(), and WKB_EXTENDED.

Here is the call graph for this function: