forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbe285a
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 parent6cb8c60 commitfbe285a
2 files changed
+50
-11
lines changedLines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4637 | 4637 |
| |
4638 | 4638 |
| |
4639 | 4639 |
| |
4640 |
| - | |
| 4640 | + | |
4641 | 4641 |
| |
4642 |
| - | |
4643 |
| - | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
4644 | 4658 |
| |
4645 |
| - | |
4646 |
| - | |
4647 |
| - | |
4648 |
| - | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
4649 | 4669 |
| |
4650 | 4670 |
| |
4651 | 4671 |
| |
4652 | 4672 |
| |
4653 |
| - | |
4654 |
| - | |
4655 |
| - | |
4656 |
| - | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
4657 | 4678 |
| |
4658 | 4679 |
| |
4659 | 4680 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
505 | 505 |
| |
506 | 506 |
| |
507 | 507 |
| |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
508 | 526 |
| |
509 | 527 |
| |
510 | 528 |
| |
|
0 commit comments
Comments
(0)