From 8d9978a7176a2805a8188605de3c16ffc914dc8a Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 30 Nov 2023 14:11:45 +0900 Subject: Apply quotes more consistently to GUC names in logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quotes are applied to GUCs in a very inconsistent way across the code base, with a mix of double quotes or no quotes used. This commit removes double quotes around all the GUC names that are obviously referred to as parameters with non-English words (use of underscore, mixed case, etc). This is the result of a discussion with Álvaro Herrera, Nathan Bossart, Laurenz Albe, Peter Eisentraut, Tom Lane and Daniel Gustafsson. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Pv-kSN8SkxSdoHano_wPubqcg5789ejhCDZAcLFceBR-w@mail.gmail.com --- src/backend/access/transam/commit_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/access/transam/commit_ts.c') diff --git a/src/backend/access/transam/commit_ts.c b/src/backend/access/transam/commit_ts.c index 502a3d6068f..7c642f7b599 100644 --- a/src/backend/access/transam/commit_ts.c +++ b/src/backend/access/transam/commit_ts.c @@ -385,9 +385,9 @@ error_commit_ts_disabled(void) (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), errmsg("could not get commit timestamp data"), RecoveryInProgress() ? - errhint("Make sure the configuration parameter \"%s\" is set on the primary server.", + errhint("Make sure the configuration parameter %s is set on the primary server.", "track_commit_timestamp") : - errhint("Make sure the configuration parameter \"%s\" is set.", + errhint("Make sure the configuration parameter %s is set.", "track_commit_timestamp"))); } -- cgit v1.2.3