On Tue, May 2, 2017 at 9:27 PM, Peter Eisentraut <peter.eisentr...@2ndquadrant.com> wrote: > On 5/2/17 03:43, Michael Paquier wrote: >>> I don't think the code covers all because a) the SQL queries are not >>> covered at all that I can see and b) logical decoding can theoretically >>> do HOT pruning (even if the chance is really small) so it's not safe to >>> start logical replication either. >> >> Ahhh. So START_REPLICATION can also now generate WAL. Good to know. > > And just looking at pg_current_wal_location(), running BASE_BACKUP also > advances the WAL.
Indeed. I forgot the backup end record and the segment switch. We are good for a backpatch down to 9.2 here. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers