diff options
author | Magnus Hagander <magnus@hagander.net> | 2015-12-13 16:40:37 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2015-12-13 16:44:04 +0100 |
commit | a1fb84990dc172f21f12a8fb79ab58876e81fe6b (patch) | |
tree | d213d4221d6eaccfea0f8c12d73a2f4123845aa2 /src/tutorial/funcs.c | |
parent | 5f1de605640578667e97894d846d119a5dc5a31f (diff) |
Properly initialize write, flush and replay locations in walsender slots
These would leak random xlog positions if a walsender used for backup would
a walsender slot previously used by a replication walsender.
In passing also fix a couple of cases where the xlog pointer is directly
compared to zero instead of using XLogRecPtrIsInvalid, noted by
Michael Paquier.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions