forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0c6293d
committed
Before removing backup_label and irrevocably changing pg_control file, check
that WAL file containing the checkpoint redo-location can be found. Thisavoids making the cluster irrecoverable if the redo location is in an earlieWAL file than the checkpoint record.Report, analysis and patch by Jeff Davis, with small changes by me.1 parenta87d212 commit0c6293d
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5839 | 5839 |
| |
5840 | 5840 |
| |
5841 | 5841 |
| |
| 5842 | + | |
5842 | 5843 |
| |
5843 | 5844 |
| |
5844 | 5845 |
| |
5845 | 5846 |
| |
| 5847 | + | |
| 5848 | + | |
| 5849 | + | |
| 5850 | + | |
| 5851 | + | |
| 5852 | + | |
| 5853 | + | |
| 5854 | + | |
| 5855 | + | |
| 5856 | + | |
| 5857 | + | |
| 5858 | + | |
| 5859 | + | |
| 5860 | + | |
5846 | 5861 |
| |
5847 | 5862 |
| |
5848 | 5863 |
| |
5849 |
| - | |
| 5864 | + | |
5850 | 5865 |
| |
5851 | 5866 |
| |
5852 | 5867 |
| |
| |||
5892 | 5907 |
| |
5893 | 5908 |
| |
5894 | 5909 |
| |
| 5910 | + | |
5895 | 5911 |
| |
5896 | 5912 |
| |
5897 | 5913 |
| |
5898 |
| - | |
5899 | 5914 |
| |
5900 | 5915 |
| |
5901 | 5916 |
| |
|
0 commit comments
Comments
(0)