Fix plperl's elog() function to convert elog(ERROR) into Perl croak(),

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 193a97c2d32afc046ee20f34035906709bf852a0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-11-20T19:07:40Z
Releases: 8.0.0
Fix plperl's elog() function to convert elog(ERROR) into Perl croak(),
rather than longjmp'ing clear out of Perl and thereby leaving Perl in
a broken state.  Also some minor prettification of error messages.
Still need to do something with spi_exec_query() error handling.

Files

PathChange+/−
src/pl/plperl/plperl.c modified +28 −9
src/pl/plperl/SPI.xs modified +46 −7