Thread: pgsql: Sync our copy of the timezone library with IANA release tzcode20
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. Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/484a57643e02b7df2bb9085603772b33511c6668 Modified Files -------------- src/timezone/README | 18 ++++- src/timezone/localtime.c | 23 ++++++- src/timezone/zic.c | 169 +++++++++++++++++++++++++++++------------------ 3 files changed, 142 insertions(+), 68 deletions(-)
Re: pgsql: Sync our copy of the timezone library with IANA releasetzcode20
From
Peter Eisentraut
Date:
On 2020-06-18 00:29, Tom Lane wrote: > Sync our copy of the timezone library with IANA release tzcode2020a. This code import has introduced new compiler warnings on Windows/mingw builds, see for example at <https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=fairywren&dt=2020-06-24%2009%3A02%3A57&stg=make>. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: > On 2020-06-18 00:29, Tom Lane wrote: >> Sync our copy of the timezone library with IANA release tzcode2020a. > This code import has introduced new compiler warnings on Windows/mingw > builds, Hmm ... I forgot that INT64_FORMAT can't be used with sscanf. Will fix. regards, tom lane