Re: BUG #1831: plperl gives error after reconnect.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1831: plperl gives error after reconnect.
Date: 2005-08-20 05:21:56
Message-ID: 17027.1124515316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Fuhr <mike(at)fuhr(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-08-20 05:29:57 Re: BUG #1831: plperl gives error after reconnect.
Previous Message Michael Fuhr 2005-08-20 05:16:25 Re: BUG #1831: plperl gives error after reconnect.