Re: Detection of hadware feature => please do not use signal

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bastien Roucariès <rouca(at)debian(dot)org>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Detection of hadware feature => please do not use signal
Date: 2024-10-31 20:16:49
Message-ID: 1426960.1730405809@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Bastien =?ISO-8859-1?Q?Roucari=E8s?= <rouca(at)debian(dot)org> writes:
> Le jeudi 31 octobre 2024, 17:29:45 UTC Heikki Linnakangas a écrit :
>> Why is it bad?

> for a binary it is maybe safe for a library it is unsafe in Multi thread context to capture signal...

[ shrug... ] If we're concerned about that, we should hardly be less
concerned on other platforms than we are on Linux.

(AFAIK, we do not execute the code in question in any libraries.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2024-11-01 04:07:14 BUG #18682: Null grouping set with empty table returns a row contains null.
Previous Message Bastien Roucariès 2024-10-31 20:12:12 Re: Detection of hadware feature => please do not use signal