Revert "Move portal pinning from PL/pgSQL to SPI"
Peter Eisentraut <peter_e@gmx.net>
Revert "Move portal pinning from PL/pgSQL to SPI" This reverts commit b3617cdfbba1b5381e9d1c6bc0839500e8eb7273. This broke returning unnamed cursors from PL/pgSQL functions. Apparently, there are no test cases for this.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/spi.c | modified | +0 −9 |
| src/pl/plpgsql/src/pl_exec.c | modified | +8 −0 |