Fix plperl's elog() function to convert elog(ERROR) into Perl croak(),
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/pl/plperl/plperl.c | modified | +28 −9 |
| src/pl/plperl/SPI.xs | modified | +46 −7 |