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:43:35 +0100 |
commit | a9c56ff0e1f19fd6c2e48cfe44407c8cb8c4fbd5 (patch) | |
tree | 3879d26d3b1b0b60d225b32e01ef923637a353b1 /src/tutorial/funcs.source | |
parent | 332be65b5e6a99420dd9b2762fe3e5602538053d (diff) | |
download | postgresql-a9c56ff0e1f19fd6c2e48cfe44407c8cb8c4fbd5.tar.gz postgresql-a9c56ff0e1f19fd6c2e48cfe44407c8cb8c4fbd5.zip |
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.source')
0 files changed, 0 insertions, 0 deletions