PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ geography_out()

Datum geography_out ( PG_FUNCTION_ARGS  )

Definition at line 191 of file geography_inout.c.

192 {
193 
194  GSERIALIZED *g = PG_GETARG_GSERIALIZED_P(0);
195  LWGEOM *lwgeom = lwgeom_from_gserialized(g);
196  PG_RETURN_CSTRING(lwgeom_to_hexwkb_buffer(lwgeom, WKB_EXTENDED));
197 }
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
Definition: gserialized.c:239
char * lwgeom_to_hexwkb_buffer(const LWGEOM *geom, uint8_t variant)
Definition: lwout_wkb.c:845
#define WKB_EXTENDED
Definition: liblwgeom.h:2177

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

Here is the call graph for this function: