![]() |
MobilityDB 1.3
|
Functions for base and time types corresponding to external PostgreSQL functions in order to bypass the function manager fmgr.c
.
More...
Go to the source code of this file.
Macros | |
#define | INTERVAL_IS_NOBEGIN(i) ((i)->month == PG_INT32_MIN && (i)->day == PG_INT32_MIN && (i)->time == PG_INT64_MIN) |
#define | INTERVAL_IS_NOEND(i) ((i)->month == PG_INT32_MAX && (i)->day == PG_INT32_MAX && (i)->time == PG_INT64_MAX) |
#define | INTERVAL_NOBEGIN(i) |
#define | INTERVAL_NOEND(i) |
#define | INTERVAL_NOT_FINITE(i) (INTERVAL_IS_NOBEGIN(i) || INTERVAL_IS_NOEND(i)) |
Functions | |
float8 | float8_in (const char *num, const char *type_name, const char *orig_string) |
char * | float8_out (double num, int maxdd) |
uint32 | hash_bytes_uint32 (uint32 k) |
uint64 | hash_bytes_uint32_extended (uint32 k, uint64 seed) |
int32 | int4_in (const char *str) |
Return an int4 from a string. More... | |
char * | int4_out (int32 val) |
Return a string from an int4. More... | |
int64 | int8_in (const char *str) |
Return an int8 from a string. More... | |
char * | int8_out (int64 val) |
Return a string from an int8 . More... | |
void | interval_negate (const Interval *interval, Interval *result) |
Negate an interval. More... | |
float8 | pg_datan (float8 arg1) |
Return the arctan of a double (radians) More... | |
float8 | pg_datan2 (float8 arg1, float8 arg2) |
Return the arctan of two doubles (radians) More... | |
DateADT | pg_date_in (const char *str) |
char * | pg_date_out (DateADT d) |
float8 | pg_dcos (float8 arg1) |
Return the cosine of arg1 (radians) More... | |
float8 | pg_dsin (float8 arg1) |
Return the sine of arg1 (radians) More... | |
uint32 | pg_hashfloat8 (float8 key) |
Get the 32-bit hash value of an float64 value. More... | |
uint64 | pg_hashfloat8extended (float8 key, uint64 seed) |
Get the 64-bit hash value of a float64 value. More... | |
uint32 | pg_hashint8 (int64 val) |
Get the 32-bit hash value of an int64 value. More... | |
uint64 | pg_hashint8extended (int64 val, uint64 seed) |
Get the 64-bit hash value of an int64 value. More... | |
uint32 | pg_hashtext (text *key) |
Get the 32-bit hash value of an text value. More... | |
uint64 | pg_hashtextextended (text *key, uint64 seed) |
Get the 32-bit hash value of an text value. More... | |
int | pg_interval_cmp (const Interval *interv1, const Interval *interv2) |
Interval * | pg_interval_in (const char *str, int32 prec) |
Interval * | pg_interval_justify_hours (const Interval *span) |
Add an interval to a timestamp data type. More... | |
char * | pg_interval_out (const Interval *interv) |
Timestamp | pg_timestamp_in (const char *str, int32 typmod) |
char * | pg_timestamp_out (Timestamp t) |
TimestampTz | pg_timestamptz_in (const char *str, int32 prec) |
char * | pg_timestamptz_out (TimestampTz t) |
Functions for base and time types corresponding to external PostgreSQL functions in order to bypass the function manager fmgr.c
.