aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2015-12-13 16:40:37 +0100
committerMagnus Hagander <magnus@hagander.net>2015-12-13 16:46:56 +0100
commit263c19572bd4947b4cf977d61db11b74b1745570 (patch)
treeaf3b99b8847db95336220e9e6c043569500382be /src/backend/parser/parse_utilcmd.c
parent6d96cd077bedcf822db7348bc564b44df8b2ab23 (diff)
downloadpostgresql-263c19572bd4947b4cf977d61db11b74b1745570.tar.gz
postgresql-263c19572bd4947b4cf977d61db11b74b1745570.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/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions