pgsql: Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL
Date
Msg-id E1fXkYD-00084a-9p@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Move RecoveryLockList into a hash table.
Next
From: Thomas Munro
Date:
Subject: pgsql: Add PGTYPESchar_free() to avoid cross-module problems onWindows