Re: BUG #1831: plperl gives error after reconnect. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1831: plperl gives error after reconnect.
Date
Msg-id 17027.1124515316@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1831: plperl gives error after reconnect.  (Michael Fuhr <mike@fuhr.org>)
List pgsql-bugs
Michael Fuhr <mike@fuhr.org> writes:
> But this example crashes the backend if plperl.use_strict is enabled :-(

I suspect the croak() in plperl_convert_to_pg_array (the C function)
ought to be an ereport().  It looks like that is not called from inside
the Perl environment, and so croak is probably sending control to exit().

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #1831: plperl gives error after reconnect.
Next
From: Michael Fuhr
Date:
Subject: Re: BUG #1831: plperl gives error after reconnect.