From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update timezone to C99
Date: Fri, 21 Nov 2025 12:14:55 +0000
Message-ID: <E1vMQ2R-000dKN-1P@gemulon.postgresql.org> (raw)
Update timezone to C99
This reverts changes done in PostgreSQL over the upstream code to
avoid relying on C99 <stdint.h> and <inttypes.h>.
In passing, there were a few other minor and cosmetic changes that I
left in to improve alignment with upstream, including some C11 feature
use (_Noreturn).
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/9ad2749f-77ab-4ecb-a321-1ca915480b05%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e6be84356bbbaf9f88b6a738e690d6fdff6fe483
Modified Files
--------------
src/timezone/README | 14 ----
src/timezone/localtime.c | 113 ++++++++++++++++----------------
src/timezone/pgtz.h | 4 +-
src/timezone/private.h | 28 ++++----
src/timezone/zic.c | 135 ++++++++++++++++++---------------------
src/tools/pgindent/typedefs.list | 3 +
6 files changed, 136 insertions(+), 161 deletions(-)
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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Update timezone to C99
In-Reply-To: <E1vMQ2R-000dKN-1P@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox