PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | interval |
Macros | |
#define | HAVE_INT64_TIMESTAMP |
Functions | |
interval * | PGTYPESinterval_new (void) |
void | PGTYPESinterval_free (interval *intvl) |
interval * | PGTYPESinterval_from_asc (char *str, char **endptr) |
char * | PGTYPESinterval_to_asc (interval *span) |
int | PGTYPESinterval_copy (interval *intvlsrc, interval *intvldest) |
#define HAVE_INT64_TIMESTAMP |
Definition at line 24 of file pgtypes_interval.h.
Definition at line 1082 of file interval.c.
References interval::month, and interval::time.
Referenced by ecpg_get_data(), and main().
void PGTYPESinterval_free | ( | interval * | intvl | ) |
interval* PGTYPESinterval_from_asc | ( | char * | str, |
char ** | endptr | ||
) |
Definition at line 1003 of file interval.c.
References DecodeInterval(), DecodeISO8601Interval(), DTK_DELTA, free, MAXDATEFIELDS, MAXDATELEN, ParseDateTime(), pgtypes_alloc(), PGTYPES_INTVL_BAD_INTERVAL, str, tm, tm2interval(), pg_tm::tm_hour, pg_tm::tm_mday, pg_tm::tm_min, pg_tm::tm_mon, pg_tm::tm_sec, and pg_tm::tm_year.
Referenced by ecpg_get_data(), and main().
interval* PGTYPESinterval_new | ( | void | ) |
char* PGTYPESinterval_to_asc | ( | interval * | span | ) |
Definition at line 1062 of file interval.c.
References buf, EncodeInterval(), interval2tm(), IntervalStyle, INTSTYLE_POSTGRES_VERBOSE, MAXDATELEN, PGTYPES_INTVL_BAD_INTERVAL, pgtypes_strdup(), and tm.
Referenced by ecpg_store_input(), intoasc(), and main().