pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Properly initialize write, flush and replay locations in walsend 4+ messages / 1 participants [nested] [flat]
* pgsql: Properly initialize write, flush and replay locations in walsend @ 2015-12-13 16:02 Magnus Hagander <magnus@hagander.net> 0 siblings, 0 replies; 4+ messages in thread From: Magnus Hagander @ 2015-12-13 16:02 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/263c19572bd4947b4cf977d61db11b74b1745570 Modified Files -------------- src/backend/replication/walsender.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Properly initialize write, flush and replay locations in walsend @ 2015-12-13 16:02 Magnus Hagander <magnus@hagander.net> 0 siblings, 0 replies; 4+ messages in thread From: Magnus Hagander @ 2015-12-13 16:02 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a9c56ff0e1f19fd6c2e48cfe44407c8cb8c4fbd5 Modified Files -------------- src/backend/replication/walsender.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Properly initialize write, flush and replay locations in walsend @ 2015-12-13 16:02 Magnus Hagander <magnus@hagander.net> 0 siblings, 0 replies; 4+ messages in thread From: Magnus Hagander @ 2015-12-13 16:02 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/61c7bee2196d284a19692d83b33eac7588693292 Modified Files -------------- src/backend/replication/walsender.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Properly initialize write, flush and replay locations in walsend @ 2015-12-13 16:02 Magnus Hagander <magnus@hagander.net> 0 siblings, 0 replies; 4+ messages in thread From: Magnus Hagander @ 2015-12-13 16:02 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a1fb84990dc172f21f12a8fb79ab58876e81fe6b Modified Files -------------- src/backend/replication/walsender.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2015-12-13 16:02 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-12-13 16:02 pgsql: Properly initialize write, flush and replay locations in walsend Magnus Hagander <magnus@hagander.net> 2015-12-13 16:02 pgsql: Properly initialize write, flush and replay locations in walsend Magnus Hagander <magnus@hagander.net> 2015-12-13 16:02 pgsql: Properly initialize write, flush and replay locations in walsend Magnus Hagander <magnus@hagander.net> 2015-12-13 16:02 pgsql: Properly initialize write, flush and replay locations in walsend Magnus Hagander <magnus@hagander.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox