Re: disallow big-endian on aarch64 - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: disallow big-endian on aarch64
Date
Msg-id aN_jU_OwOzc84on7@nathan
Whole thread Raw
In response to Re: disallow big-endian on aarch64  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Fri, Oct 03, 2025 at 08:37:02AM +0200, Peter Eisentraut wrote:
> As a future direction, in cases like this I think it would be better to
> write a static assertion.  Then the check is self-contained in the C code,
> perhaps next to the code it's trying to protect, perhaps with a comment, and
> doesn't have to be maintained in some far-away configure shell script.

Makes sense, thanks.

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: use SIMD in GetPrivateRefCountEntry()
Next
From: Greg Burd
Date:
Subject: Re: Fixing a few minor misusages of bms_union()