|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | pg_tm |
Macros | |
| #define | TZ_STRLEN_MAX 255 |
Typedefs | |
| typedef int64 | pg_time_t |
| typedef struct pg_tz | pg_tz |
| typedef struct pg_tzenum | pg_tzenum |
Variables | |
| PGDLLIMPORT pg_tz * | session_timezone |
| PGDLLIMPORT pg_tz * | log_timezone |
Definition at line 1937 of file localtime.c.
References state::chars, fb(), and pg_tz::state.
Referenced by pg_timezone_abbrevs_zone().
Definition at line 1990 of file localtime.c.
References fb(), and pg_tz::TZname.
Referenced by pg_timezone_names(), show_log_timezone(), show_timezone(), and timetz_at_local().
Definition at line 1966 of file localtime.c.
References fb(), i, pg_tz::state, ttinfo::tt_utoff, and state::ttis.
Referenced by DecodeTimeOnly(), and TimestampTimestampTzRequiresRewrite().
Definition at line 1390 of file localtime.c.
References fb(), gmtsub(), and tm.
Referenced by AddFileToBackupManifest(), and GetEpochTime().
|
extern |
Definition at line 1744 of file localtime.c.
References charcnt, state::chars, fb(), i, and pg_tz::state.
Referenced by DetermineTimeZoneAbbrevOffsetInternal(), and pg_timezone_abbrevs_zone().
Definition at line 1345 of file localtime.c.
References fb(), localsub(), pg_tz::state, and tm.
Referenced by build_backup_content(), get_formatted_log_time(), get_formatted_start_time(), log_status_format(), logfile_getname(), pg_tz_acceptable(), score_timezone(), set_next_rotation_time(), str_time(), timeofday(), and timestamp2tm().
|
extern |
Definition at line 1611 of file localtime.c.
References AVGSECSPERYEAR, fb(), i, j, pg_next_dst_boundary(), pg_tz::state, ttinfo::tt_utoff, state::ttis, and YEARSPERREPEAT.
Referenced by DetermineTimeZoneOffsetInternal(), and pg_next_dst_boundary().
Definition at line 128 of file strftime.c.
References _fmt(), EOVERFLOW, fb(), format, and IN_NONE.
Referenced by AddFileToBackupManifest(), build_backup_content(), get_formatted_log_time(), get_formatted_start_time(), log_status_format(), logfile_getname(), str_time(), and timeofday().
|
extern |
Definition at line 1862 of file localtime.c.
References charcnt, state::chars, fb(), i, pg_tz::state, and ttinfo::tt_utoff.
Referenced by TimeZoneAbbrevIsKnown().
Definition at line 361 of file pgtz.c.
References log_timezone, pg_tzset(), and session_timezone.
Referenced by InitializeGUCOptions().
Definition at line 2005 of file localtime.c.
References fb(), pg_localtime(), POSTGRES_EPOCH_JDATE, SECS_PER_DAY, and UNIX_EPOCH_JDATE.
Referenced by check_log_timezone(), check_timezone(), pg_tzenumerate_next(), score_timezone(), and validate_zone().
Definition at line 414 of file pgtz.c.
References pg_tzenum::depth, pg_tzenum::dirdesc, pg_tzenum::dirname, FreeDir(), and pfree().
Referenced by pg_timezone_names().
Definition at line 426 of file pgtz.c.
References AllocateDir(), pg_tzenum::baselen, pg_tzenum::depth, pg_tzenum::dirdesc, pg_tzenum::dirname, ereport, errcode_for_file_access(), errmsg(), errmsg_internal(), ERROR, fb(), FreeDir(), get_dirent_type(), MAX_TZDIR_DEPTH, MAXPGPATH, pfree(), pg_tz_acceptable(), PGFILETYPE_DIR, pstrdup(), ReadDir(), snprintf, pg_tz::state, strlcpy(), pg_tzenum::tz, tzload(), and pg_tz::TZname.
Referenced by pg_timezone_names().
Definition at line 397 of file pgtz.c.
References AllocateDir(), pg_tzenum::baselen, pg_tzenum::depth, pg_tzenum::dirdesc, pg_tzenum::dirname, ereport, errcode_for_file_access(), errmsg(), ERROR, fb(), palloc0_object, pg_TZDIR(), and pstrdup().
Referenced by pg_timezone_names().
Definition at line 234 of file pgtz.c.
References elog, ERROR, fb(), HASH_ENTER, HASH_FIND, hash_search(), init_timezone_hashtable(), pg_toupper(), pg_tz::state, timezone_cache, pg_tz_cache::tz, TZ_STRLEN_MAX, tzload(), pg_tz::TZname, and tzparse().
Referenced by check_log_timezone(), check_timezone(), DecodeDateTime(), DecodeTimeOnly(), DecodeTimezoneName(), FetchDynamicTimeZone(), pg_timezone_initialize(), and pg_tzset_offset().
Definition at line 320 of file pgtz.c.
References fb(), pg_tzset(), SECS_PER_HOUR, SECS_PER_MINUTE, and snprintf.
Referenced by check_timezone(), and DecodeTimezoneNameToTz().
|
extern |
Definition at line 31 of file pgtz.c.
Referenced by assign_log_timezone(), build_backup_content(), get_formatted_log_time(), get_formatted_start_time(), log_status_format(), logfile_getname(), pg_timezone_initialize(), set_next_rotation_time(), show_log_timezone(), and str_time().
|
extern |
Definition at line 28 of file pgtz.c.
Referenced by assign_timezone(), date2timestamptz_safe(), DecodeDateTime(), DecodeTimeOnly(), DecodeTimezoneAbbrev(), DecodeTimezoneAbbrevPrefix(), executeDateTimeMethod(), generate_series_timestamptz_internal(), GetCurrentTimeUsec(), pg_timezone_abbrevs_zone(), pg_timezone_initialize(), show_timezone(), time_timetz(), timeofday(), timestamp2timestamptz_safe(), timestamp2tm(), TimestampTimestampTzRequiresRewrite(), timestamptz_pl_interval_internal(), timestamptz_trunc(), timetz_at_local(), and to_timestamp().