bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Thu Jun 14 01:50:39 PDT 2012
http://www.slony.info/bugzilla/show_bug.cgi?id=264

--- Comment #5 from Paul <paulro at yandex.ru> 2012-06-14 01:50:40 PDT ---
Hello all.
Yes the patch fix the problem.
OK. You need in file src/slon/remote_worker.c to correct 

Line 3429:

(void) slon_mkquery(&query1,
             "(select log_actionseq "
             "from %s.sl_log_1 where log_origin = %d order by log_actionseq) "
             "union (select log_actionseq "
             "from %s.sl_log_2 where log_origin = %d order by log_actionseq);
",
             rtcfg_namespace, node->no_id,
             rtcfg_namespace, node->no_id);

And line 3493:

(void) slon_mkquery(&query1,
      "(select log_actionseq "
      "from %s.sl_log_1 where log_origin = %d and %s order by log_actionseq) "
      "union (select log_actionseq "
      "from %s.sl_log_2 where log_origin = %d and %s order by log_actionseq);
",
       rtcfg_namespace, node->no_id, dstring_data(&query2),
       rtcfg_namespace, node->no_id, dstring_data(&query2));

Thanks a lot, it works !!!

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list