agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Sync our copy of the timezone library with IANA release tzcode20
Date: Wed, 01 Jul 2026 14:57:05 +0000
Message-ID: <E1wewN7-000vla-0o@gemulon.postgresql.org> (raw)
Sync our copy of the timezone library with IANA release tzcode2026b.
This was moderately tedious, because upstream has been busy
since we last did this in 2020.
Notably, they changed the signatures of both tzload() and tzparse(),
which we'd unwisely exposed as API for callers to use. I concluded
that the best answer was to change them both back to "static" and
instead expose a new API function of our own choosing, pg_tzload().
That change may be a sufficient reason not to back-patch this update,
as I'd normally want to do. There's probably not a good reason for
extensions to be calling those functions, but on the other hand
there are few pressing reasons for a back-patch. The one bug we have
run into (a Valgrind uninitialized-data complaint about zic) appears
to have no field-visible consequences.
A few of the files generated by this version of zic are not
byte-for-byte the same as before, but "zdump -v" avers that
they represent the same sets of transitions.
Discussion: https://postgr.es/m/2294297.1780270682@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/aeb07c55fab5c17a600b77ffcdc3b71425d6a8e7
Modified Files
--------------
src/bin/initdb/findtimezone.c | 19 +-
src/timezone/README | 20 +-
src/timezone/localtime.c | 1299 ++++++++--------
src/timezone/pgtz.c | 44 +-
src/timezone/pgtz.h | 73 +-
src/timezone/private.h | 249 ++-
src/timezone/strftime.c | 41 +-
src/timezone/tzfile.h | 55 +-
src/timezone/zic.c | 3119 +++++++++++++++++++++++++-------------
src/tools/pgindent/typedefs.list | 2 +
10 files changed, 3043 insertions(+), 1878 deletions(-)
view thread (104+ messages)
Message-ID: <E1wewN7-000vla-0o@gemulon.postgresql.org>
Permalink: ../E1wewN7-000vla-0o@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wewN7-000vla-0o@gemulon.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Sync our copy of the timezone library with IANA release tzcode20
In-Reply-To: <E1wewN7-000vla-0o@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox