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:52 +0100 |
commit | 61c7bee2196d284a19692d83b33eac7588693292 (patch) | |
tree | 0901cc6240474c3303431695a248a78d817c2a64 /src/backend/storage/buffer/bufmgr.c | |
parent | 6bdef1369f01d48107a7cde8bf2ca8e2d4fdb73e (diff) | |
download | postgresql-61c7bee2196d284a19692d83b33eac7588693292.tar.gz postgresql-61c7bee2196d284a19692d83b33eac7588693292.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/backend/storage/buffer/bufmgr.c')
0 files changed, 0 insertions, 0 deletions