forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbfc8068
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 parent57a7a3a commitbfc8068
1 file changed
+30
-4
lines changedLines changed: 30 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
162 | 164 |
| |
163 | 165 |
| |
164 | 166 |
| |
| |||
246 | 248 |
| |
247 | 249 |
| |
248 | 250 |
| |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
249 | 275 |
| |
250 | 276 |
| |
251 | 277 |
| |
|
0 commit comments
Comments
(0)