pgsql: Sync our copy of the timezone library with IANA release tzcode20

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Sync our copy of the timezone library with IANA release tzcode20
Date: 2020-10-17 01:54:55
Message-ID: E1kTbQt-0005ip-Ni@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Sync our copy of the timezone library with IANA release tzcode2020c.

This changes zic's default output format from "-b fat" to "-b slim".
We were already using "slim" in v13/HEAD, so those branches drop
the explicit -b switch in the Makefiles. Instead, add an explicit
"-b fat" in v12 and before, so that we don't change the output file
format in those branches. (This is perhaps excessively conservative,
but we decided not to do so in a12079109, and I'll stick with that.)

Other non-cosmetic changes are to drop support for zic's long-obsolete
"-y" switch, and to ensure that strftime() does not change errno
unless it fails.

As usual with tzcode changes, back-patch to all supported branches.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3d13a83079dad27e82cd760b7483e604af83e167

Modified Files
--------------
src/timezone/Makefile | 2 +-
src/timezone/README | 2 +-
src/timezone/strftime.c | 10 +++
src/timezone/zic.c | 205 +++++++++++++++-------------------------------
src/tools/msvc/Install.pm | 3 +-
5 files changed, 81 insertions(+), 141 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-10-17 20:03:09 pgsql: Doc: caution against misuse of 'now' and related datetime litera
Previous Message Tom Lane 2020-10-16 16:00:14 pgsql: Add missing error check in pgcrypto/crypt-md5.c.