]> granicus.if.org Git - postgresql/commitdiff
postgresql.conf.sample: add proper defaults for include actions
authorBruce Momjian <bruce@momjian.us>
Wed, 17 Apr 2019 22:12:10 +0000 (18:12 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 17 Apr 2019 22:12:10 +0000 (18:12 -0400)
Previously, include actions include_dir, include_if_exists, and include
listed commented-out values which were not the defaults, which is
inconsistent with other entries.  Instead, replace them with '', which
is the default value.

Reported-by: Emanuel Araújo
Discussion: https://postgr.es/m/CAMuTAkYMx6Q27wpELDR3_v9aG443y7ZjeXu15_+1nGUjhMWOJA@mail.gmail.com

Backpatch-through: 9.4

src/backend/utils/misc/postgresql.conf.sample

index 160011f4de39e2054d27c5d1651b17f0a4410992..109ffab52029ce9dcd3472a91a659a53562f46b9 100644 (file)
 # These options allow settings to be loaded from files other than the
 # default postgresql.conf.
 
-#include_dir = 'conf.d'                        # include files ending in '.conf' from
-                                       # directory 'conf.d'
-#include_if_exists = 'exists.conf'     # include file only if it exists
-#include = 'special.conf'              # include file
+#include_dir = ''                      # include files ending in '.conf' from
+                                       # a directory, e.g., 'conf.d'
+#include_if_exists = ''                        # include file only if it exists
+#include = ''                          # include file
 
 
 #------------------------------------------------------------------------------