forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9ba0361
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 parent8bc8f70 commit9ba0361
2 files changed
+50
-11
lines changedLines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4544 | 4544 |
| |
4545 | 4545 |
| |
4546 | 4546 |
| |
4547 |
| - | |
| 4547 | + | |
4548 | 4548 |
| |
4549 |
| - | |
4550 |
| - | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
4551 | 4565 |
| |
4552 |
| - | |
| 4566 | + | |
4553 | 4567 |
| |
4554 |
| - | |
4555 |
| - | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
| 4572 | + | |
| 4573 | + | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
4556 | 4577 |
| |
4557 |
| - | |
4558 | 4578 |
| |
4559 | 4579 |
| |
4560 | 4580 |
| |
4561 | 4581 |
| |
4562 |
| - | |
4563 |
| - | |
4564 |
| - | |
4565 |
| - | |
| 4582 | + | |
| 4583 | + | |
| 4584 | + | |
| 4585 | + | |
| 4586 | + | |
4566 | 4587 |
| |
4567 | 4588 |
| |
4568 | 4589 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
508 | 508 |
| |
509 | 509 |
| |
510 | 510 |
| |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
511 | 529 |
| |
512 | 530 |
| |
513 | 531 |
| |
|
0 commit comments
Comments
(0)