forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit172d067
committed
Update minimum recovery point on truncation.
If a file is truncated, we must update minRecoveryPoint. Once a file istruncated, there's no going back; it would not be safe to stop recoveryat a point earlier than that anymore.Per report from Kyotaro HORIGUCHI. Backpatch to 8.4. Before that,minRecoveryPoint was not updated during recovery at all.1 parent0dfbb64 commit172d067
2 files changed
+50
-11
lines changedLines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4489 | 4489 |
| |
4490 | 4490 |
| |
4491 | 4491 |
| |
4492 |
| - | |
| 4492 | + | |
4493 | 4493 |
| |
4494 |
| - | |
4495 |
| - | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
| 4497 | + | |
| 4498 | + | |
| 4499 | + | |
| 4500 | + | |
| 4501 | + | |
| 4502 | + | |
| 4503 | + | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
4496 | 4510 |
| |
4497 |
| - | |
| 4511 | + | |
4498 | 4512 |
| |
4499 |
| - | |
4500 |
| - | |
| 4513 | + | |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
4501 | 4522 |
| |
4502 |
| - | |
4503 | 4523 |
| |
4504 | 4524 |
| |
4505 | 4525 |
| |
4506 | 4526 |
| |
4507 |
| - | |
4508 |
| - | |
4509 |
| - | |
4510 |
| - | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
4511 | 4532 |
| |
4512 | 4533 |
| |
4513 | 4534 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
474 | 474 |
| |
475 | 475 |
| |
476 | 476 |
| |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
477 | 495 |
| |
478 | 496 |
| |
479 | 497 |
| |
|
0 commit comments
Comments
(0)