Improve a couple of error messages.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +2 −1 |
| src/backend/commands/wait.c | modified | +2 −2 |
| src/test/recovery/t/049_wait_for_lsn.pl | modified | +2 −2 |
| src/test/regress/expected/subscription.out | modified | +1 −1 |
Discussion
- not fully correct error message 12 messages · 2026-01-01 → 2026-01-03