- Notifications
You must be signed in to change notification settings - Fork28
Commit9fa01f6
committed
Check for partial WAL files in standby mode. If restore_command restores
a partial WAL file, assume it's because the file is just being copied tothe archive and treat it the same as "file not found" in standby mode.pg_standby has a similar check, so it seems reasonable to have the samelevel of protection in the built-in standby mode.1 parent7e30c00 commit9fa01f6
1 file changed
+23
-8
lines changedLines changed: 23 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
2891 | 2891 |
| |
2892 | 2892 |
| |
2893 | 2893 |
| |
2894 |
| - | |
2895 |
| - | |
2896 |
| - | |
2897 |
| - | |
2898 |
| - | |
2899 |
| - | |
2900 | 2894 |
| |
2901 | 2895 |
| |
2902 | 2896 |
| |
2903 | 2897 |
| |
2904 |
| - | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
2905 | 2918 |
| |
2906 | 2919 |
| |
2907 | 2920 |
| |
2908 | 2921 |
| |
| 2922 | + | |
| 2923 | + | |
2909 | 2924 |
| |
2910 | 2925 |
| |
2911 | 2926 |
| |
|
0 commit comments
Comments
(0)