From 4dbee6f4f6a23239c457e1484263b9822dbc13d7 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Fri, 24 Nov 2023 17:16:53 +1100 Subject: [PATCH v2] GUC names - docs --- doc/src/sgml/sources.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index 06d995e..45ad706 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -539,6 +539,14 @@ Hint: The addendum, written as a complete sentence. + In messages containing configuration variable names, do not include quotes + when the names are visibly not English natural words, such as when they + have underscores or are all-uppercase or have mixed case. Otherwise, quotes + must be added. Do include quotes in a message where an arbitrary variable + name is to be expanded. + + + There are functions in the backend that will double-quote their own output as needed (for example, format_type_be()). Do not put additional quotes around the output of such functions. -- 1.8.3.1