Improve a couple of error messages.

Change "function" to "function or procedure" in
PreventInTransactionBlock, and improve grammar of ExecWaitStmt's
complaint about having an active snapshot.

Author: Pavel Stehule <[email protected]>
Reviewed-by: Andreas Karlsson <[email protected]>
Reviewed-by: Marcos Pegoraro <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: 
https://postgr.es/m/cafj8prcvewpr06bbad9gnmb0kcr6jnxpttv9xoaob+ofcd1...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54315fde73915a2468eaa22a2fa38927a23ac4ec

Modified Files
--------------
src/backend/access/transam/xact.c          | 3 ++-
src/backend/commands/wait.c                | 4 ++--
src/test/recovery/t/049_wait_for_lsn.pl    | 4 ++--
src/test/regress/expected/subscription.out | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)

Reply via email to