pgsql: Disable extended alignment uses on older g++

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Disable extended alignment uses on older g++
Date: 2026-01-26 09:30:31
Message-ID: E1vkIvW-002j3w-31@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Disable extended alignment uses on older g++

Fix for commit a9bdb63bba8. The previous plan of redefining alignas
didn't work, because it interfered with other C++ header files (e.g.,
LLVM). So now the new workaround is to just disable the affected
typedefs under the affected compilers. These are not typically used
in extensions anyway.

Discussion: https://www.postgresql.org/message-id/3119480.1769189606%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ceef9408c26b6e188ec88c4303e9bad8ce33bff

Modified Files
--------------
src/include/c.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-01-26 10:27:42 pgsql: Remove deduplication logic from find_window_functions
Previous Message Michael Paquier 2026-01-26 07:33:16 pgsql: Add test for MAINTAIN permission with pg_restore_extended_stats(