From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Bastien Roucariès <rouca(at)debian(dot)org> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: Detection of hadware feature => please do not use signal |
Date: | 2024-10-31 18:01:41 |
Message-ID: | 7ec1c65c-1a28-49a7-af43-f77c260a3df6@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On 31/10/2024 19:48, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka(at)iki(dot)fi> writes:
>> On 31/10/2024 17:41, Bastien Roucariès wrote:
>>> Could you use the canonical way under linux
>
>> We used to do that, but it was changed in commit 1c72ec6f. Looking at
>> the discussion that led to it, it's not clear to me why we switched [1].
>
> The complaint was precisely that it would not work under non-linux.
>
> 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.
--
Heikki Linnakangas
Neon (https://neon.tech)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-10-31 18:25:34 | Re: Detection of hadware feature => please do not use signal |
Previous Message | Tom Lane | 2024-10-31 17:48:48 | Re: Detection of hadware feature => please do not use signal |