diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-11-30 14:11:45 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-11-30 14:11:45 +0900 |
commit | 8d9978a7176a2805a8188605de3c16ffc914dc8a (patch) | |
tree | 0d0fa103110c66f3d36b4e5e253196c0b2707d63 /src/backend/commands/variable.c | |
parent | 334f512f45ebc946ca1a5aa51808b4447f6384a0 (diff) | |
download | postgresql-8d9978a7176a2805a8188605de3c16ffc914dc8a.tar.gz postgresql-8d9978a7176a2805a8188605de3c16ffc914dc8a.zip |
Apply quotes more consistently to GUC names in logs
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
Diffstat (limited to 'src/backend/commands/variable.c')
-rw-r--r-- | src/backend/commands/variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c index a88cf5f118f..c361bb20792 100644 --- a/src/backend/commands/variable.c +++ b/src/backend/commands/variable.c @@ -717,7 +717,7 @@ check_client_encoding(char **newval, void **extra, GucSource source) else { /* Provide a useful complaint */ - GUC_check_errdetail("Cannot change \"client_encoding\" now."); + GUC_check_errdetail("Cannot change client_encoding now."); } return false; } |