From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Quote filenames in error messages
Date: Thu, 14 Sep 2023 09:21:03 +0000
Message-ID: <E1qgiX1-003kn1-1N@gemulon.postgresql.org> (raw)
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@eisentraut.org>
Reviewed-by: Michael Paquier <michael@paquier.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(-)
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: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Quote filenames in error messages
In-Reply-To: <E1qgiX1-003kn1-1N@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