git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: df8b7bc) | patch
Don't allow data_directory to be set in postgresql.auto.conf by ALTER SYSTEM.
2014年6月19日 11:31:20 +0000 (20:31 +0900)
2014年6月19日 11:31:20 +0000 (20:31 +0900)
commit 9ba78fb0b9e6c5a7115592c2c3116fca16b5184e
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.
doc/src/sgml/ref/alter_system.sgml diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/include/utils/guc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /