Update timezone to C99
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-11-21T12:07:40Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/timezone/localtime.c | modified | +57 −56 |
| src/timezone/pgtz.h | modified | +2 −2 |
| src/timezone/private.h | modified | +12 −16 |
| src/timezone/README | modified | +0 −14 |
| src/timezone/zic.c | modified | +62 −73 |
| src/tools/pgindent/typedefs.list | modified | +3 −0 |
Discussion
- Update timezone to C99 7 messages · 2025-11-12 → 2025-11-21