MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
type_inout.h File Reference
#include <postgres.h>
#include "temporal/meos_catalog.h"

Go to the source code of this file.

Macros

#define OUT_DEFAULT_DECIMAL_DIGITS   15
 
#define OUT_DOUBLE_BUFFER_SIZE   OUT_MAX_BYTES_DOUBLE + 1 /* +1 including NULL */
 
#define OUT_MAX_BYTES_DOUBLE   (1 /* Sign */ + 2 /* 0.x */ + OUT_MAX_DIGITS)
 
#define OUT_MAX_DIGITS   17 + 8
 
#define OUT_MAX_DOUBLE   1E15
 
#define OUT_MIN_DOUBLE   1E-8
 Basic routines for spans (a.k.a. More...
 

Functions

char * datum_as_hexwkb (Datum value, meosType type, uint8_t variant, size_t *size)
 Return the HexWKB representation of a datum value. More...
 
uint8_t * datum_as_wkb (Datum value, meosType type, uint8_t variant, size_t *size_out)
 Return the WKB representation of a datum value. More...
 
Datum type_from_hexwkb (const char *hexwkb, size_t size, meosType type)
 Return a value from its HexEWKB representation. More...
 
Datum type_from_wkb (const uint8_t *wkb, size_t size, meosType type)
 Return a value from its Well-Known Binary (WKB) representation. More...