pgsql: Revert "Move portal pinning from PL/pgSQL to SPI"

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Revert "Move portal pinning from PL/pgSQL to SPI"
Дата
Msg-id E1eZNZD-0000YJ-SP@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b48b2f8793ef256d19274b4ef6ff587fd47ab553

Modified Files
--------------
src/backend/executor/spi.c   | 9 ---------
src/pl/plpgsql/src/pl_exec.c | 8 ++++++++
2 files changed, 8 insertions(+), 9 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove dubious micro-optimization inckpt_buforder_comparator().
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add tests for PL/pgSQL returning unnamed portals as refcursor