summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorPeter Eisentraut2014-12-04 00:54:01 +0000
committerPeter Eisentraut2014-12-04 00:58:13 +0000
commit3e2dc9703a4835ace14310f82369df0a4e8528f2 (patch)
tree41990b42b294b422582745c61ad8ec0d5b9cfdf4 /src/include/utils
parent567737822a004dd23a105c5b7129ff98b2805ac7 (diff)
Move PG_AUTOCONF_FILENAME definition
Since this is not something that a user should change, pg_config_manual.h was an inappropriate place for it. In initdb.c, remove the use of the macro, because utils/guc.h can't be included by non-backend code. But we hardcode all the other configuration file names there, so this isn't a disaster.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/guc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 1493d2cb79c..ed6515a07e5 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -19,6 +19,13 @@
/*
+ * Automatic configuration file name for ALTER SYSTEM.
+ * This file will be used to store values of configuration parameters
+ * set by ALTER SYSTEM command.
+ */
+#define PG_AUTOCONF_FILENAME "postgresql.auto.conf"
+
+/*
* Certain options can only be set at certain times. The rules are
* like this:
*