pgsql: Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL
Дата
Msg-id E1fXkYD-00084a-9p@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL

The previous message for SPI_ERROR_TRANSACTION claimed "cannot begin/end
transactions in PL/pgSQL", but that is no longer true.  Nevertheless,
the error can still happen, so reword the messages.  The error cases in
exec_prepare_plan() could never happen, so remove them.

Branch
------
master

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

Modified Files
--------------
.../plpgsql/src/expected/plpgsql_transaction.out   | 16 +++++++++++-
src/pl/plpgsql/src/pl_exec.c                       | 29 +++-------------------
src/pl/plpgsql/src/sql/plpgsql_transaction.sql     | 14 ++++++++++-
3 files changed, 32 insertions(+), 27 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Move RecoveryLockList into a hash table.
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Add PGTYPESchar_free() to avoid cross-module problems onWindows