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

Bastien =?ISO-8859-1?Q?Roucari=E8s?= <rouca@debian.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





view thread (37+ messages)  latest in thread

Message-ID: <1426960.1730405809@sss.pgh.pa.us>
Permalink:  ../1426960.1730405809@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1426960.1730405809@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, rouca@debian.org, hlinnaka@iki.fi
  Subject: Re: Detection of hadware feature => please do not use signal
  In-Reply-To: <1426960.1730405809@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