pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve a couple of error messages.
Date: Sat, 03 Jan 2026 22:18:45 +0000
Message-ID: <E1vc9xM-004JiV-09@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1vc9xM-004JiV-09@gemulon.postgresql.org>
Permalink:  ../E1vc9xM-004JiV-09@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vc9xM-004JiV-09@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve a couple of error messages.
  In-Reply-To: <E1vc9xM-004JiV-09@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox