summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-06-17 18:29:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-06-17 18:29:45 -0400
commitc38561196f78a07711595b0d052608f645a75fcb (patch)
treeca7d2560761d19001941354d45f0aac35eb762d3 /src/timezone/pgtz.c
parent660622053419fbb776c7218f2110500b3b034b35 (diff)
Sync our copy of the timezone library with IANA release tzcode2020a.
This absorbs a leap-second-related bug fix in localtime.c, and teaches zic to handle an expiration marker in the leapseconds file. Neither are of any interest to us (for the foreseeable future anyway), but we need to stay more or less in sync with upstream. Also adjust some over-eager changes in the README from commit 957338418. I have no intention of making changes that require C99 in this code, until such time as all the live back branches require C99. Otherwise back-patching will get too exciting. For the same reason, absorb assorted whitespace and other cosmetic changes from HEAD into the back branches; mostly this reflects use of improved versions of pgindent. All in all then, quite a boring update. But I figured I'd get it done while I was looking at this code.
Diffstat (limited to 'src/timezone/pgtz.c')
-rw-r--r--src/timezone/pgtz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index fbfadfa6f8a..ca1b4ff3363 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -32,8 +32,8 @@ pg_tz *log_timezone = NULL;
static bool scan_directory_ci(const char *dirname,
- const char *fname, int fnamelen,
- char *canonname, int canonnamelen);
+ const char *fname, int fnamelen,
+ char *canonname, int canonnamelen);
/*
@@ -364,7 +364,7 @@ pg_tzset_offset(long gmtoffset)
* is to ensure that log_timezone has a valid value before any logging GUC
* variables could become set to values that require elog.c to provide
* timestamps (e.g., log_line_prefix). We may as well initialize
- * session_timestamp to something valid, too.
+ * session_timezone to something valid, too.
*/
void
pg_timezone_initialize(void)