Re: alignas (C11) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: alignas (C11)
Date
Msg-id 0032fbcb-8fb0-4e65-8928-f2c4e9b62ba6@eisentraut.org
Whole thread Raw
In response to alignas (C11)  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On 12.11.25 12:39, Peter Eisentraut wrote:
> Here, I'm proposing to make some use of the alignas specifier.  This 
> takes the place of compiler extensions such as 
> __attribute__((aligned(a))) and __declspec(align(a)), packaged up as 
> pg_attribute_aligned(a), which are used in a variety of places.  Also, 
> we can simplify some places where unions are used to encourage 
> alignment, and remove a few workaround for lack of alignment attribute 
> support.

This patch set has been committed, it looks like without buildfarm 
complaints.




pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Next
From: Bertrand Drouvot
Date:
Subject: Re: Consistently use the XLogRecPtrIsInvalid() macro