index 3bee6573afce26e36c877b07af31e9349da08b34..ed082409b7297944fe11e70fa2954b46ac19cfd5 100644 (file)
autoconflines[1] = pg_strdup("# It will be overwritten by the ALTER SYSTEM command.\n");
autoconflines[2] = NULL;
- sprintf(path, "%s/%s", pg_data, PG_AUTOCONF_FILENAME);
+ sprintf(path, "%s/postgresql.auto.conf", pg_data);
writefile(path, autoconflines);
if (chmod(path, S_IRUSR | S_IWUSR) != 0)
index b82f0f70bdaf0a3402933417b03a0812975df7af..38a2e9051f8f608a10ecda9ee8f73009ff05e4b4 100644 (file)
*/
/* #define HEAPDEBUGALL */
/* #define ACLDEBUG */
-
-/*
- * 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"
index 395858b102297efcbe19b964d29f9ec687841aba..80813d23210c4ab2f7a574fc960a373afa6be8c0 100644 (file)
#define MAX_KILOBYTES (INT_MAX / 1024)
#endif
+/*
+ * 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: