pgsql: Improve a couple of error messages.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve a couple of error messages.
Date: 2026-01-03 22:18:45
Message-ID: E1vc9xM-004JiV-09@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)stehule(at)gmail(dot)com>
Reviewed-by: Andreas Karlsson <andreas(at)proxel(dot)se>
Reviewed-by: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-01-04 07:33:07 pgsql: Fix selectivity estimation integer overflow in contrib/intarray
Previous Message Robert Haas 2026-01-02 23:32:40 Re: pgsql: Ignore PlaceHolderVars when looking up statistics