summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.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:44:04 +0100
commita1fb84990dc172f21f12a8fb79ab58876e81fe6b (patch)
treed213d4221d6eaccfea0f8c12d73a2f4123845aa2 /src/tutorial/funcs.c
parent5f1de605640578667e97894d846d119a5dc5a31f (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