PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | ttinfo |
struct | lsinfo |
struct | state |
struct | pg_tz |
Macros | |
#define | SMALLEST(a, b) (((a) < (b)) ? (a) : (b)) |
#define | BIGGEST(a, b) (((a) > (b)) ? (a) : (b)) |
Functions | |
int | pg_open_tzfile (const char *name, char *canonname) |
int | tzload (const char *name, char *canonname, struct state *sp, bool doextend) |
bool | tzparse (const char *name, struct state *sp, bool lastditch) |
int pg_open_tzfile | ( | const char * | name, |
char * | canonname | ||
) |
Definition at line 65 of file findtimezone.c.
References MAXPGPATH, name, PG_BINARY, pg_TZDIR(), scan_directory_ci(), strlcpy(), and TZ_STRLEN_MAX.
Referenced by tzloadbody().
Definition at line 586 of file localtime.c.
References err(), free, malloc, name, and tzloadbody().
Referenced by gmtload(), pg_load_tz(), pg_tzenumerate_next(), and pg_tzset().
Definition at line 936 of file localtime.c.
References state::ats, state::charcnt, charcnt, state::chars, state::defaulttype, EPOCH_YEAR, getoffset(), getqzname(), getrule(), getzname(), state::goahead, state::goback, i, if(), increment_overflow_time(), init_ttinfo(), isleap, j, state::leapcnt, name, SECSPERDAY, SECSPERHOUR, state::timecnt, timecnt, transtime(), ttinfo::tt_isdst, ttinfo::tt_ttisstd, ttinfo::tt_ttisut, ttinfo::tt_utoff, state::ttis, state::typecnt, state::types, TZ_MAX_TIMES, TZDEFRULESTRING, year_lengths, and YEARSPERREPEAT.
Referenced by gmtload(), pg_load_tz(), pg_tzset(), and tzloadbody().