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:
baadc63
)
bdr: fix: actually set sys id and timeline
author
Christian Kruse
<
[email protected]
>
Tue, 22 Apr 2014 09:02:59 +0000
(11:02 +0200)
committer
Andres Freund
<
[email protected]
>
Thu, 3 Jul 2014 15:55:26 +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 4c4fe02e102a68365de4cc2cc3e96c733701d01a..e5e92be7ae9677916915351907ea44717437feec 100644
(file)
--- a/
contrib/bdr/bdr_apply.c
+++ b/
contrib/bdr/bdr_apply.c
@@
-671,6
+671,9
@@
fetch_sysid_via_node_id(RepNodeId node_id, uint64 *sysid, TimeLineID *tli)
elog(ERROR, "could not parse sysid: %s", ident);
ReleaseSysCache(node);
pfree(ident);
+
+ *sysid = remote_sysid;
+ *tli = remote_tli;
}
}