pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Mats Kindahl <mats@timescale.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Use of signal-unsafe functions from signal handlers
Date: Tue, 24 May 2022 21:25:14 -0400
Message-ID: <1773723.1653441914@sss.pgh.pa.us> (raw)
In-Reply-To: <Yo18KyPNP0G03n10@paquier.xyz>
References: <CA+14425wJh3m2XA4c8-stRKGQYLwKqFiScqZm7BBt1JxU2iU-g@mail.gmail.com>
	<20220524101418.7pp65powa362vzln@jrouhaud>
	<CA+14426Zpdi6=jr9Z+C_tzS36pVa_+BbCHSeriqd=sLw4X6_iw@mail.gmail.com>
	<20220524123739.6glyxyx4owqpqjnr@jrouhaud>
	<1531973.1653401755@sss.pgh.pa.us>
	<Yo18KyPNP0G03n10@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> Hmm.  Shouldn't we worry about FloatExceptionHandler() that gets used
> on SIGFPE?

SIGFPE is generated synchronously, so that one's not really a problem,
I think: it can only interrupt code that is doing trap-prone arithmetic.
Anyway that code's been like that for ages and nobody has reported an
issue there.

			regards, tom lane





view thread (8+ messages)

Message-ID: <1773723.1653441914@sss.pgh.pa.us>
Permalink:  ../1773723.1653441914@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1773723.1653441914@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, michael@paquier.xyz, rjuju123@gmail.com, mats@timescale.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Use of signal-unsafe functions from signal handlers
  In-Reply-To: <1773723.1653441914@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