Re: SIGFPE handler is naive - Mailing list pgsql-hackers

From Nils Goroll
Subject Re: SIGFPE handler is naive
Date
Msg-id 502A284E.7040706@schokola.de
Whole thread Raw
In response to SIGFPE handler is naive  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: SIGFPE handler is naive
List pgsql-hackers
> Should we do something to plug this, and if so, what?  If not, should
> we document the danger?

I am not sure if I really understood the intention of the question correctly, 
but if the question was if pg should try to work around misuse of signals, then 
my answer would be a definite no.

IMHO, the signal handler should check if the signal was received for good 
reasons (as proposed by Noah) and handle it appropriately, but otherwise ignore it.

Nils



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: default_isolation_level='serializable' crashes on Windows
Next
From: Greg Stark
Date:
Subject: Re: SIGFPE handler is naive