postgresql/src
Thomas Munro 71cb352904 Fix header inclusion order in c.h.
Commit 962da900a added #include <stdint.h> to postgres_ext.h, which
broke c.h's header ordering rule.

The system headers on some systems would then lock down off_t's size in
private macros, before they'd had a chance to see our definition of
_FILE_OFFSET_BITS (and presumably other things).  This was picked up by
perl's ABI compatibility checks on some 32 bit systems in the build
farm.

Move #include "postgres_ext.h" down below the system header section, and
make the comments clearer (thanks to Tom for the new wording).

Diagnosed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2397643.1733347237%40sss.pgh.pa.us
2024-12-05 14:31:39 +13:00
..
backend Provide a better error message for misplaced dispatch options. 2024-12-04 15:04:15 -06:00
bin Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
common jsonapi: add lexer option to keep token ownership 2024-11-27 12:07:14 -05:00
fe_utils Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
include Fix header inclusion order in c.h. 2024-12-05 14:31:39 +13:00
interfaces Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
makefiles Use __attribute__((target(...))) for AVX-512 support. 2024-11-07 13:58:43 -06:00
pl Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00
port Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Ensure stored generated columns must be published when required. 2024-12-04 09:45:18 +05:30
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:49:38 -04:00
tools Provide a better error message for misplaced dispatch options. 2024-12-04 15:04:15 -06:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00