pgsql: Further fix extended alignment for older g++. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Further fix extended alignment for older g++.
Date
Msg-id E1vlZNi-0002m3-0N@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Further fix extended alignment for older g++.

Commit 6ceef9408 was still one brick shy of a load, because it caused
any usage at all of PGIOAlignedBlock or PGAlignedXLogBlock to fail
under older g++.  Notably, this broke "headerscheck --cplusplus".
We can permit references to these structs as abstract structs though;
only actual declaration of such a variable needs to be forbidden.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bd9dfac8b121e67d7dd4a9bfecb1474fe6811927

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


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Fix theoretical memory leaks in pg_locale_libc.c.
Next
From: Andres Freund
Date:
Subject: pgsql: bufmgr: Allow conditionally locking of already locked buffer