bdr: fix: actually set sys id and timeline
authorChristian Kruse <[email protected]>
Tue, 22 Apr 2014 09:02:59 +0000 (11:02 +0200)
committerAndres Freund <[email protected]>
Thu, 3 Jul 2014 15:55:26 +0000 (17:55 +0200)
contrib/bdr/bdr_apply.c

index 4c4fe02e102a68365de4cc2cc3e96c733701d01a..e5e92be7ae9677916915351907ea44717437feec 100644 (file)
@@ -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;
    }
 }