Re: plperl sigfpe reset can crash the server - Mailing list pgsql-hackers

From Andres Freund
Subject Re: plperl sigfpe reset can crash the server
Date
Msg-id 201209051606.54062.andres@2ndquadrant.com
Whole thread Raw
In response to Re: plperl sigfpe reset can crash the server  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: plperl sigfpe reset can crash the server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sunday, August 26, 2012 06:10:02 PM Andres Freund wrote:
> On Saturday, August 25, 2012 06:38:09 AM Tom Lane wrote:
> > Andres Freund <andres@2ndquadrant.com> writes:
> > > Doing a pqsignal(SIGFPE, FloatExceptionHandler) after PERL_SYS_INIT3
> > > seems to work. Is that acceptable?
> > 
> > Surely that's breaking perl's expectations, to more or less the same
> > degree they're breaking ours?
> 
> In the referenced bug they agree that this is the way forward.
As nobody has any better ideas here is a patch doing that:


-- 
Andres Freund        http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [bugfix] sepgsql didn't follow the latest core API changes
Next
From: Heikki Linnakangas
Date:
Subject: Re: Cascading replication and recovery_target_timeline='latest'