diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-06-19 20:31:20 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-06-19 20:31:20 +0900 |
commit | 9ba78fb0b9e6c5a7115592c2c3116fca16b5184e (patch) | |
tree | 81a218879d4679312afe557015fde851c4e77d55 /doc/src | |
parent | df8b7bc9ffff5b00aacff774600b569992cddeb8 (diff) | |
download | postgresql-9ba78fb0b9e6c5a7115592c2c3116fca16b5184e.tar.gz postgresql-9ba78fb0b9e6c5a7115592c2c3116fca16b5184e.zip |
Don't allow data_directory to be set in postgresql.auto.conf by ALTER SYSTEM.
data_directory could be set both in postgresql.conf and postgresql.auto.conf so far.
This could cause some problematic situations like circular definition. To avoid such
situations, this commit forbids a user to set data_directory in postgresql.auto.conf.
Backpatch this to 9.4 where ALTER SYSTEM command was introduced.
Amit Kapila, reviewed by Abhijit Menon-Sen, with minor adjustments by me.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/alter_system.sgml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/alter_system.sgml b/doc/src/sgml/ref/alter_system.sgml index 081b3722a0b..d11f6beeed7 100644 --- a/doc/src/sgml/ref/alter_system.sgml +++ b/doc/src/sgml/ref/alter_system.sgml @@ -77,6 +77,16 @@ ALTER SYSTEM SET <replaceable class="PARAMETER">configuration_parameter</replace </refsect1> <refsect1> + <title>Notes</title> + + <para> + This command can't be used to set <xref linkend="guc-data-directory"> + and any parameters (e.g., <link linkend="runtime-config-preset">preset options</>) + that are not allowed in <filename>postgresql.conf</>. + </para> + </refsect1> + + <refsect1> <title>Examples</title> <para> |