Fix sloppiness in the timeline switch over streaming replication patch. Here's another attempt at fixing the logic that decides how far the WAL can be streamed, which was still broken if the timeline changed while streaming. You would get an assertion failure. The way the logic is now written is more readable, too.
Thom Brown reported the assertion failure. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/1ff92eea140ccf0503b7399549031976e5c6642e Modified Files -------------- src/backend/replication/walsender.c | 101 +++++++++++++++++++---------------- 1 files changed, 54 insertions(+), 47 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
