forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcebf9d6
committed
Only superuser can set sslcert/sslkey in postgres_fdw user mappings
Othrwise there is a security risk.Discussion:https://postgr.es/m/20200109103014.GA4192@msg.df7cb.de1 parent4e514c6 commitcebf9d6
File tree
4 files changed
+31
-1
lines changed- contrib/postgres_fdw
- expected
- sql
- doc/src/sgml
4 files changed
+31
-1
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8898 | 8898 |
| |
8899 | 8899 |
| |
8900 | 8900 |
| |
| 8901 | + | |
| 8902 | + | |
| 8903 | + | |
| 8904 | + | |
| 8905 | + | |
| 8906 | + | |
| 8907 | + | |
| 8908 | + | |
| 8909 | + | |
8901 | 8910 |
| |
8902 | 8911 |
| |
8903 | 8912 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
162 | 172 |
| |
163 | 173 |
| |
164 | 174 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2567 | 2567 |
| |
2568 | 2568 |
| |
2569 | 2569 |
| |
| 2570 | + | |
2570 | 2571 |
| |
2571 | 2572 |
| |
2572 | 2573 |
| |
| |||
2579 | 2580 |
| |
2580 | 2581 |
| |
2581 | 2582 |
| |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
2582 | 2589 |
| |
2583 | 2590 |
| |
2584 | 2591 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 |
| |
143 | 147 |
| |
144 | 148 |
| |
|
0 commit comments
Comments
(0)