Re: disallow big-endian on aarch64

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tomas Vondra <tomas(at)vondra(dot)me>, pgsql-hackers(at)postgresql(dot)org, andres(at)anarazel(dot)de
Subject: Re: disallow big-endian on aarch64
Date: 2025-10-03 14:53:07
Message-ID: aN_jU_OwOzc84on7@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Burd 2025-10-03 14:56:50 Re: Fixing a few minor misusages of bms_union()
Previous Message Nathan Bossart 2025-10-03 14:48:44 use SIMD in GetPrivateRefCountEntry()