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

Started by Tom Laneabout 9 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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

zic no longer mishandles some transitions in January 2038 when it
attempts to work around Qt bug 53071. This fixes a bug affecting
Pacific/Tongatapu that was introduced in zic 2016e. localtime.c
now contains a workaround, useful when loading a file generated by
a buggy zic.

There are assorted cosmetic changes as well, notably relocation
of a bunch of #defines.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e18b2c480da478f62781e06488cda56fe1b4e919

Modified Files
--------------
src/timezone/README | 2 +-
src/timezone/localtime.c | 73 +++++++++++++++++++++++++++++++++++-----------
src/timezone/pgtz.c | 9 +++---
src/timezone/private.h | 76 ++++++++++++++++++++++++++++++++++++------------
src/timezone/strftime.c | 11 +++++--
src/timezone/tzfile.h | 52 ---------------------------------
src/timezone/zic.c | 15 ++++++++--
7 files changed, 139 insertions(+), 99 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers