Update timezone to C99

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Update timezone to C99
Date: 2025-11-12 16:18:45
Message-ID: 9ad2749f-77ab-4ecb-a321-1ca915480b05@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The code in src/timezone/ still contained workarounds for not wanting to
rely on C99 <stdint.h> and <inttypes.h>, even though the rest of the
code uses those now.

To fix that, I re-downloaded the upstream code (same version as before),
applied the fixes described in src/timezone/README, except those related
to the integer types, and then put back the PostgreSQL-specific code and
massaged things to remove irrelevant differences. There were a few
other minor and cosmetic changes that I left in to improve alignment
with upstream.

Patch attached. Seems to work.

Attachment Content-Type Size
0001-Update-timezone-to-C99.patch text/plain 28.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Manni Wood 2025-11-12 16:33:33 Re: [PATCH] Add pg_get_tablespace_ddl() function to reconstruct CREATE TABLESPACE statement
Previous Message Álvaro Herrera 2025-11-12 16:15:46 Re: [PATCH] Add pg_get_tablespace_ddl() function to reconstruct CREATE TABLESPACE statement