pgsql: Update timezone to C99 - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Update timezone to C99
Date
Msg-id E1vMQ2R-000dKN-1P@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: C11 alignas instead of unions
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Use strtoi64() in pgbench, replacing its open-coded implementati