From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Quote filenames in error messages |
Date: | 2023-09-14 09:21:03 |
Message-ID: | E1qgiX1-003kn1-1N@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Quote filenames in error messages
The majority of all filenames are quoted in user facing error and
log messages, but a few were still printed without quotes. While
these filenames do not risk causing any ambiguity as their format
is strict, quote them anyways to be consistent across all logs.
Also concatenate a message to keep it one line to make it easier
to grep for in the code.
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/080EEABE-6645-4A46-AB20-6285ADAC44FE@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b0ec61c9c27fb932ae6524f92a18e0d1fadbc144
Modified Files
--------------
src/backend/access/transam/xlog.c | 3 +--
src/bin/pg_waldump/pg_waldump.c | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2023-09-15 14:53:25 | pgsql: Remove unnecessary smgrimmedsync() when creating unlogged table. |
Previous Message | Peter Eisentraut | 2023-09-14 07:46:45 | pgsql: Fix indentation in SQL file |