From: Andres Freund Date: Wed, 4 Jun 2014 16:05:05 +0000 (+0200) Subject: bdr: Reset replication identifier lsn/time after a commit X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f33c566693f3c80b570995026f7d2a248d6fee0e;p=users%2Fandresfreund%2Fpostgres.git bdr: Reset replication identifier lsn/time after a commit --- diff --git a/contrib/bdr/bdr_apply.c b/contrib/bdr/bdr_apply.c index 5fdc8e5d17..6e3c82580c 100644 --- a/contrib/bdr/bdr_apply.c +++ b/contrib/bdr/bdr_apply.c @@ -338,6 +338,8 @@ process_remote_commit(StringInfo s) bdr_count_commit(); replication_origin_xid = InvalidTransactionId; + replication_origin_lsn = InvalidXLogRecPtr; + replication_origin_timestamp = 0; /* * Stop replay if we're doing limited replay and we've replayed up to the