- Notifications
You must be signed in to change notification settings - Fork28
Commit9ba78fb
committed
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 suchsituations, 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.1 parentdf8b7bc commit9ba78fb
File tree
3 files changed
+26
-6
lines changed- doc/src/sgml/ref
- src
- backend/utils/misc
- include/utils
3 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 | | |
80 | 90 | | |
81 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
3098 | 3102 | | |
3099 | 3103 | | |
3100 | 3104 | | |
3101 | | - | |
| 3105 | + | |
3102 | 3106 | | |
3103 | 3107 | | |
3104 | 3108 | | |
| |||
6735 | 6739 | | |
6736 | 6740 | | |
6737 | 6741 | | |
| 6742 | + | |
| 6743 | + | |
| 6744 | + | |
| 6745 | + | |
6738 | 6746 | | |
6739 | | - | |
6740 | | - | |
6741 | | - | |
6742 | | - | |
6743 | | - | |
| 6747 | + | |
| 6748 | + | |
| 6749 | + | |
| 6750 | + | |
| 6751 | + | |
| 6752 | + | |
6744 | 6753 | | |
6745 | 6754 | | |
6746 | 6755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments
Comments
(0)