Call PLy_spi_execute_fetch_result inside the try/catch block
Peter Eisentraut <peter_e@gmx.net>
Call PLy_spi_execute_fetch_result inside the try/catch block This way errors from fetching tuples are correctly reported as errors in the SPI call. While at it, avoid palloc(0). Jan Urbański
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/plpython.c | modified | +14 −4 |