bdr: Reset replication identifier lsn/time after a commit
authorAndres Freund <andres@anarazel.de>
Wed, 4 Jun 2014 16:05:05 +0000 (18:05 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Jul 2014 15:55:39 +0000 (17:55 +0200)
contrib/bdr/bdr_apply.c

index 5fdc8e5d1788766339ece97851b6d887826a90e8..6e3c82580c651c7aa86d5c1091d958ae3b70c651 100644 (file)
@@ -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