[COMMITTERS] pgsql: Sync our copy of the timezone library with IANA tzcode master.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Sync our copy of the timezone library with IANA tzcode master.
Дата
Msg-id E1dvFCk-00058Z-M8@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Sync our copy of the timezone library with IANA tzcode master.

This patch absorbs a few unreleased fixes in the IANA code.
It corresponds to commit 2d8b944c1cec0808ac4f7a9ee1a463c28f9cd00a
in https://github.com/eggert/tz.  Non-cosmetic changes include:

TZDEFRULESTRING is updated to match current US DST practice,
rather than what it was over ten years ago.  This only matters
for interpretation of POSIX-style zone names (e.g., "EST5EDT"),
and only if the timezone database doesn't include either an exact
match for the zone name or a "posixrules" entry.  The latter
should not be true in any current Postgres installation, but
this could possibly matter when using --with-system-tzdata.

Get rid of a nonportable use of "++var" on a bool var.
This is part of a larger fix that eliminates some vestigial
support for consecutive leap seconds, and adds checks to
the "zic" compiler that the data files do not specify that.

Remove a couple of ancient compatibility hacks.  The IANA
crew think these are obsolete, and I tend to agree.  But
perhaps our buildfarm will think different.

Back-patch to all supported branches, in line with our policy
that all branches should be using current IANA code.  Before v10,
this includes application of current pgindent rules, to avoid
whitespace problems in future back-patches.

Discussion: https://postgr.es/m/E1dsWhf-0000pT-F9@gemulon.postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3876b16ce3f30fcd8e10738d4449f8c51a695b17

Modified Files
--------------
src/timezone/localtime.c | 100 ++++++++++++++++-----------------
src/timezone/private.h   |  25 ++-------
src/timezone/strftime.c  |  45 ++++++++-------
src/timezone/zic.c       | 142 ++++++++++++++++++++++++++++++++---------------
4 files changed, 173 insertions(+), 139 deletions(-)


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

В списке pgsql-committers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test abit more robust.
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Provide a test for variable existence inpsql