pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Bastien Roucariès <rouca@debian.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Detection of hadware feature => please do not use signal
Date: Thu, 31 Oct 2024 14:25:34 -0400
Message-ID: <1292593.1730399134@sss.pgh.pa.us> (raw)
In-Reply-To: <7ec1c65c-1a28-49a7-af43-f77c260a3df6@iki.fi>
References: <4496616.iHFcN1HehY@portable-bastien>
	<af84e934-4e9c-4380-95ee-8921dab1254b@iki.fi>
	<1156374.1730396928@sss.pgh.pa.us>
	<7ec1c65c-1a28-49a7-af43-f77c260a3df6@iki.fi>

Heikki Linnakangas <hlinnaka@iki.fi> writes:
> On 31/10/2024 19:48, Tom Lane wrote:
>> Maybe we could do it one way on linux and the other way everywhere
>> else, but I do not find that attractive; it just makes it harder
>> to get full test coverage.

> Bastien, would you happen to know how other portable libraries that need 
> to run on other operating system do this? We added the SIGILL probe back 
> in 2018, there might be better options available now.

It occurs to me to wonder whether the existing code works on Windows.
Windows-on-ARM wasn't a thing we thought about in 2018, but it's
a reasonable target now.

			regards, tom lane





view thread (37+ messages)  latest in thread

Message-ID: <1292593.1730399134@sss.pgh.pa.us>
Permalink:  ../1292593.1730399134@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1292593.1730399134@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, rouca@debian.org, pgsql-bugs@lists.postgresql.org
  Subject: Re: Detection of hadware feature => please do not use signal
  In-Reply-To: <1292593.1730399134@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox