diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-02-28 15:10:51 +0400 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-02-28 15:17:23 +0400 |
commit | 0b16bb8776bb834eb1ef8204ca95dd7667ab948b (patch) | |
tree | a06173763fba46c78613abb5b9181a88d98148e1 /src/tools/pginclude/cpluspluscheck | |
parent | bcdfa5f2e2f274caeed20b2f986012a9cb6a259c (diff) | |
download | postgresql-0b16bb8776bb834eb1ef8204ca95dd7667ab948b.tar.gz postgresql-0b16bb8776bb834eb1ef8204ca95dd7667ab948b.zip |
Remove AIX support
There isn't a lot of user demand for AIX support, we have a bunch of
hacks to work around AIX-specific compiler bugs and idiosyncrasies,
and no one has stepped up to the plate to properly maintain it.
Remove support for AIX to get rid of that maintenance overhead. It's
still supported for stable versions.
The acute issue that triggered this decision was that after commit
8af2565248, the AIX buildfarm members have been hitting this
assertion:
TRAP: failed Assert("(uintptr_t) buffer == TYPEALIGN(PG_IO_ALIGN_SIZE, buffer)"), File: "md.c", Line: 472, PID: 2949728
Apperently the "pg_attribute_aligned(a)" attribute doesn't work on AIX
for values larger than PG_IO_ALIGN_SIZE, for a static const variable.
That could be worked around, but we decided to just drop the AIX support
instead.
Discussion: https://www.postgresql.org/message-id/20240224172345.32@rfd.leadboat.com
Reviewed-by: Andres Freund, Noah Misch, Thomas Munro
Diffstat (limited to 'src/tools/pginclude/cpluspluscheck')
-rwxr-xr-x | src/tools/pginclude/cpluspluscheck | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index 7edfc44b49a..a46ff52cc1b 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -61,7 +61,6 @@ do # These files are platform-specific, and c.h will include the # one that's relevant for our current platform anyway. - test "$f" = src/include/port/aix.h && continue test "$f" = src/include/port/cygwin.h && continue test "$f" = src/include/port/darwin.h && continue test "$f" = src/include/port/freebsd.h && continue |