- Notifications
You must be signed in to change notification settings - Fork5
Commit8a06c36
committed
Fix process startup in pg_rewind.
Don't allow pg_rewind to run as root on Unix platforms, as any new orreplaced files in the data directory would become owned by root. On Windows,it can run under a user that has Administrator rights, but a restrictedtoken needs to be used. This is the same we do e.g. in pg_resetxlog.Also, add missing set_pglocale_pgservice() call, to fix localization.Michael Paquier and Fujii Masao1 parent1cdf4d0 commit8a06c36
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
177 | 194 | | |
178 | 195 | | |
179 | 196 | | |
| |||
0 commit comments
Comments
(0)