forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitacf4740
committed
Check that we've reached end-of-backup also when we're not performing
archive recovery.It's possible to restore an online backup without recovery.conf, by simplycopying all the necessary WAL files to pg_xlog. "pg_basebackup -x" does thattoo. That's the use case where this cross-check is useful.Backpatch to 9.0. We used to do this in earlier versins, but in 9.0 the codewas inadvertently changed so that the check is only performed after archiverecovery.Fujii Masao.1 parent754baa2 commitacf4740
1 file changed
+3
-5
lines changedLines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6256 | 6256 |
| |
6257 | 6257 |
| |
6258 | 6258 |
| |
6259 |
| - | |
6260 |
| - | |
| 6259 | + | |
6261 | 6260 |
| |
6262 | 6261 |
| |
6263 | 6262 |
| |
| |||
6610 | 6609 |
| |
6611 | 6610 |
| |
6612 | 6611 |
| |
6613 |
| - | |
| 6612 | + | |
6614 | 6613 |
| |
6615 | 6614 |
| |
6616 | 6615 |
| |
| |||
8311 | 8310 |
| |
8312 | 8311 |
| |
8313 | 8312 |
| |
8314 |
| - | |
8315 |
| - | |
| 8313 | + | |
8316 | 8314 |
| |
8317 | 8315 |
| |
8318 | 8316 |
| |
|
0 commit comments
Comments
(0)