Re: alignas (C11)

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: alignas (C11)
Date: 2025-12-01 07:03:49
Message-ID: 0032fbcb-8fb0-4e65-8928-f2c4e9b62ba6@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-12-01 07:14:42 Re: Consistently use the XLogRecPtrIsInvalid() macro
Previous Message Masahiko Sawada 2025-12-01 07:02:59 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart