forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1fb849
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 parent5f1de60 commita1fb849
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1195 | 1195 |
| |
1196 | 1196 |
| |
1197 | 1197 |
| |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1198 | 1201 |
| |
1199 | 1202 |
| |
1200 | 1203 |
| |
| |||
1994 | 1997 |
| |
1995 | 1998 |
| |
1996 | 1999 |
| |
1997 |
| - | |
| 2000 | + | |
1998 | 2001 |
| |
1999 | 2002 |
| |
2000 | 2003 |
| |
2001 | 2004 |
| |
2002 | 2005 |
| |
2003 |
| - | |
| 2006 | + | |
2004 | 2007 |
| |
2005 | 2008 |
| |
2006 | 2009 |
| |
2007 | 2010 |
| |
2008 | 2011 |
| |
2009 |
| - | |
| 2012 | + | |
2010 | 2013 |
| |
2011 | 2014 |
| |
2012 | 2015 |
| |
|
0 commit comments
Comments
(0)