forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd56b629
committed
Must not reach consistency before XLOG_BACKUP_RECORD
When waiting for an XLOG_BACKUP_RECORD the minRecoveryPointwill be incorrect, so we must not declare recovery as consistentbefore we have seen the record. Major bug allowing recovery to endtoo early in some cases, allowing people to see inconsistent db.This patch to HEAD and 9.2, other fix required for 9.1 and 9.0Simon Riggs and Andres Freund, bug report by Jeff Janes1 parent0811f4f commitd56b629
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7155 | 7155 |
| |
7156 | 7156 |
| |
7157 | 7157 |
| |
7158 |
| - | |
| 7158 | + | |
| 7159 | + | |
| 7160 | + | |
| 7161 | + | |
7159 | 7162 |
| |
7160 |
| - | |
| 7163 | + | |
7161 | 7164 |
| |
7162 | 7165 |
| |
7163 | 7166 |
| |
|
0 commit comments
Comments
(0)