Apply quotes more consistently to GUC names in logs
authorMichael Paquier <michael@paquier.xyz>
Thu, 30 Nov 2023 05:11:45 +0000 (14:11 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 30 Nov 2023 05:11:45 +0000 (14:11 +0900)
commit8d9978a7176a2805a8188605de3c16ffc914dc8a
tree0d0fa103110c66f3d36b4e5e253196c0b2707d63
parent334f512f45ebc946ca1a5aa51808b4447f6384a0
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
22 files changed:
contrib/pg_prewarm/autoprewarm.c
src/backend/access/heap/vacuumlazy.c
src/backend/access/transam/commit_ts.c
src/backend/access/transam/xlog.c
src/backend/commands/vacuum.c
src/backend/commands/variable.c
src/backend/libpq/be-secure-openssl.c
src/backend/postmaster/bgworker.c
src/backend/postmaster/checkpointer.c
src/backend/postmaster/pgarch.c
src/backend/storage/buffer/localbuf.c
src/backend/storage/file/fd.c
src/backend/storage/lmgr/predicate.c
src/backend/tcop/postgres.c
src/backend/utils/adt/pg_locale.c
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc_tables.c
src/test/modules/commit_ts/expected/commit_timestamp_1.out
src/test/regress/expected/collate.icu.utf8.out
src/test/regress/expected/json.out
src/test/regress/expected/jsonb.out