| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Update timezone to C99 |
| Date: | 2025-11-21 12:14:55 |
| Message-ID: | E1vMQ2R-000dKN-1P@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)sss(dot)pgh(dot)pa(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2025-11-21 13:08:33 | pgsql: Use strtoi64() in pgbench, replacing its open-coded implementati |
| Previous Message | Peter Eisentraut | 2025-11-21 09:29:36 | pgsql: C11 alignas instead of unions |