forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd53d705
Add some checkpoint and redo LSNs to a couple of recovery errors
Two FATALs and one PANIC gain details about the LSNs they fail at:- When restoring from a backup_label, the FATAL log generated when notfinding the checkpoint record now reports its LSN.- When restoring from a backup_label, the FATAL log generated when notfinding the redo record referenced by a checkpoint record now shows boththe redo and checkpoint record LSNs.- When not restoring from a backup_label, the PANIC error generated whennot finding the checkpoint record now reports its LSN.This information is useful when debugging corruption issues, and theseLSNs may not show up in the logs depending on the level of loggingconfigured in the backend.Author: David SteeleDiscussion:https://postgr.es/m/0e90da89-77ca-4ccf-872c-9626d755e288@pgmasters.net1 parentdb12c4f commitd53d705
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
649 |
| - | |
| 649 | + | |
| 650 | + | |
650 | 651 |
| |
651 | 652 |
| |
652 | 653 |
| |
| |||
656 | 657 |
| |
657 | 658 |
| |
658 | 659 |
| |
659 |
| - | |
| 660 | + | |
| 661 | + | |
660 | 662 |
| |
661 | 663 |
| |
662 | 664 |
| |
| |||
790 | 792 |
| |
791 | 793 |
| |
792 | 794 |
| |
793 |
| - | |
| 795 | + | |
| 796 | + | |
794 | 797 |
| |
795 | 798 |
| |
796 | 799 |
| |
|
0 commit comments
Comments
(0)