Code review for spi_query/spi_fetchrow patch: handle errors sanely,
Tom Lane <tgl@sss.pgh.pa.us>
Code review for spi_query/spi_fetchrow patch: handle errors sanely,
avoid leaking memory. I would add a regression test for error handling
except it seems eval{} can't be used in unprivileged plperl :-(
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plperl/plperl.c | modified | +102 −22 |
| src/pl/plperl/SPI.xs | modified | +28 −1 |