forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit064b3fc
committed
Fix some documentation in pg_rewind
Since 11, it is possible to use a non-superuser role when using anonline source cluster with pg_rewind as long as the role has properpermissions to execute on the source all the functions used bypg_rewind, and the documentation stated that a superuser is necessary.Let's add at the same time all the details needed to create such arole.A second confusion which comes a lot from users is that it is necessaryto issue a checkpoint on a freshly-promoted standby so as its controlfile has up-to-date timeline information which is used by pg_rewind tovalidate the operation. Let's document that properly. This isback-patched down to 9.5 where pg_rewind has been introduced.Author: Michael PaquierReviewed-by: Magnus HaganderDiscussion:https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.comBackpatch-through: 9.51 parent7dbc075 commit064b3fc
1 file changed
+30
-4
lines changedLines changed: 30 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
160 | 162 |
| |
161 | 163 |
| |
162 | 164 |
| |
| |||
221 | 223 |
| |
222 | 224 |
| |
223 | 225 |
| |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
224 | 250 |
| |
225 | 251 |
| |
226 | 252 |
| |
|
0 commit comments
Comments
(0)