Quote filenames in error messages
commitb0ec61c9c27fb932ae6524f92a18e0d1fadbc144
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 14 Sep 2023 09:17:33 +0000 (14 11:17 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 14 Sep 2023 09:17:33 +0000 (14 11:17 +0200)
treed7ac8851a7e0382829dd89c4c9595b47b459554e
parentbe6f7cd9bb4a80787a7ebd602e5cae23485e4fe2
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
src/backend/access/transam/xlog.c
src/bin/pg_waldump/pg_waldump.c