projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d4634
)
bdr: Reset replication identifier lsn/time after a commit
author
Andres Freund
<andres@anarazel.de>
Wed, 4 Jun 2014 16:05:05 +0000
(18:05 +0200)
committer
Andres Freund
<andres@anarazel.de>
Thu, 3 Jul 2014 15:55:39 +0000
(17:55 +0200)
contrib/bdr/bdr_apply.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr_apply.c
b/contrib/bdr/bdr_apply.c
index 5fdc8e5d1788766339ece97851b6d887826a90e8..6e3c82580c651c7aa86d5c1091d958ae3b70c651 100644
(file)
--- 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