pgsql: Improve a couple of error messages. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve a couple of error messages.
Date
Msg-id E1vc9xM-004JiV-09@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <pavel.stehule@gmail.com>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Reviewed-by: Marcos Pegoraro <marcos@f10.com.br>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAFj8pRCveWPR06bbad9GnMb0Kcr6jnXPttv9XOaOB+oFCD1Tsg@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(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix spelling mistake in fk-snapshot-3.spec
Next
From: David Rowley
Date:
Subject: pgsql: Fix selectivity estimation integer overflow in contrib/intarray