- Notifications
You must be signed in to change notification settings - Fork5
Commit3739e5a
committed
Fix pause_at_recovery_target + recovery_target_inclusive combination.
If pause_at_recovery_target is set, recovery pauses *before* applying thetarget record, even if recovery_target_inclusive is set. If you thencontinue with pg_xlog_replay_resume(), it will apply the target recordbefore ending recovery. In other words, if you log in while it's pausedand verify that the database looks OK, ending recovery changes its stateagain, possibly destroying data that you were tring to salvage with PITR.Backpatch to 9.1, this has been broken since pause_at_recovery_target wasadded.1 parent815d71d commit3739e5a
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6794 | 6794 |
| |
6795 | 6795 |
| |
6796 | 6796 |
| |
6797 |
| - | |
6798 |
| - | |
6799 |
| - | |
6800 |
| - | |
6801 |
| - | |
6802 | 6797 |
| |
6803 | 6798 |
| |
6804 | 6799 |
| |
| |||
6948 | 6943 |
| |
6949 | 6944 |
| |
6950 | 6945 |
| |
| 6946 | + | |
| 6947 | + | |
| 6948 | + | |
| 6949 | + | |
| 6950 | + | |
| 6951 | + | |
6951 | 6952 |
| |
6952 | 6953 |
| |
6953 | 6954 |
| |
|
0 commit comments
Comments
(0)