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

From Tom Lane
Subject Re: SIGFPE handler is naive
Date
Msg-id 17137.1344916326@sss.pgh.pa.us
Whole thread Raw
In response to Re: SIGFPE handler is naive  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: SIGFPE handler is naive
Re: SIGFPE handler is naive
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Aug 13, 2012 at 10:14 PM, Noah Misch <noah@leadboat.com> wrote:
>> Overall, though, I think it best to plug this.  We could set a flag before
>> each operation, like evaluation of SQL arithmetic, for which SIGFPE is normal.

> Yeah, that's what I thought of, too.  It seems like it'd be a lot of
> work to get there, though.

That would depend on how many places there are where SIGFPE is expected.
Are we sure there are any?  Maybe we should just remove the handler and
let SIGFPE be treated as a core dump.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: SIGFPE handler is naive
Next
From: Peter Eisentraut
Date:
Subject: Re: canceling autovacuum task woes