MobilityDB 1.1
Functions
type_out.c File Reference
#include <postgres.h>
#include <liblwgeom_internal.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/set.h"
#include "general/type_out.h"
#include "general/type_util.h"
#include "pg_general/meos_catalog.h"
#include "pg_general/type_util.h"
#include "pg_point/postgis.h"
Include dependency graph for type_out.c:

Functions

static textdatum_as_hexwkb_ext (FunctionCallInfo fcinfo, Datum value, meosType type)
 Output a generic value in WKB or EWKB format as hex-encoded ASCII. More...
 
static byteadatum_as_wkb_ext (FunctionCallInfo fcinfo, Datum value, meosType type, bool extended)
 Output a generic value in WKB or EWKB format. More...
 
static uint8_t get_endian_variant (const text *txt)
 Ensure that a string represents a valid endian flag. More...
 
PGDLLEXPORT Datum Set_as_hexwkb (PG_FUNCTION_ARGS)
 Output the timestamp set in HexWKB format. More...
 
PGDLLEXPORT Datum Set_as_wkb (PG_FUNCTION_ARGS)
 Output a timestamp set in WKB format. More...
 
PGDLLEXPORT Datum Span_as_hexwkb (PG_FUNCTION_ARGS)
 Output a span in HexWKB format. More...
 
PGDLLEXPORT Datum Span_as_wkb (PG_FUNCTION_ARGS)
 Output a span in WKB format. More...
 
PGDLLEXPORT Datum Spanset_as_hexwkb (PG_FUNCTION_ARGS)
 Output the period set in HexWKB format. More...
 
PGDLLEXPORT Datum Spanset_as_wkb (PG_FUNCTION_ARGS)
 Output a span set in WKB format. More...
 
PGDLLEXPORT Datum Stbox_as_hexwkb (PG_FUNCTION_ARGS)
 Output a spatiotemporal box in HexWKB format. More...
 
PGDLLEXPORT Datum Stbox_as_wkb (PG_FUNCTION_ARGS)
 Output a spatiotemporal box in WKB format. More...
 
PGDLLEXPORT Datum Tbox_as_hexwkb (PG_FUNCTION_ARGS)
 Output a temporal box in HexWKB format. More...
 
PGDLLEXPORT Datum Tbox_as_wkb (PG_FUNCTION_ARGS)
 Output a temporal box in WKB format. More...
 
PGDLLEXPORT Datum Temporal_as_hexwkb (PG_FUNCTION_ARGS)
 Output a temporal value in HexEWKB format. More...
 
PGDLLEXPORT Datum Temporal_as_mfjson (PG_FUNCTION_ARGS)
 Return the temporal value represented in MF-JSON format. More...
 
PGDLLEXPORT Datum Temporal_as_text (PG_FUNCTION_ARGS)
 Output a temporal point in Well-Known Text (WKT) format. More...
 
PGDLLEXPORT Datum Temporal_as_wkb (PG_FUNCTION_ARGS)
 Output a temporal value in WKB format. More...
 
PGDLLEXPORT Datum Temporalarr_as_text (PG_FUNCTION_ARGS)
 Output a temporal array in Well-Known Text (WKT) format. More...
 
PGDLLEXPORT Datum Tpoint_as_ewkb (PG_FUNCTION_ARGS)
 Output a temporal point in EWKB format. More...