- Notifications
You must be signed in to change notification settings - Fork5
Commita9c56ff
committed
Properly initialize write, flush and replay locations in walsender slots
These would leak random xlog positions if a walsender used for backup woulda walsender slot previously used by a replication walsender.In passing also fix a couple of cases where the xlog pointer is directlycompared to zero instead of using XLogRecPtrIsInvalid, noted byMichael Paquier.1 parent332be65 commita9c56ff
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1960 | 1960 | | |
1961 | 1961 | | |
1962 | 1962 | | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
1963 | 1966 | | |
1964 | 1967 | | |
1965 | 1968 | | |
| |||
2825 | 2828 | | |
2826 | 2829 | | |
2827 | 2830 | | |
2828 | | - | |
| 2831 | + | |
2829 | 2832 | | |
2830 | 2833 | | |
2831 | 2834 | | |
2832 | | - | |
| 2835 | + | |
2833 | 2836 | | |
2834 | 2837 | | |
2835 | 2838 | | |
2836 | | - | |
| 2839 | + | |
2837 | 2840 | | |
2838 | 2841 | | |
2839 | 2842 | | |
| |||
0 commit comments
Comments
(0)