Tue Sep 9 14:29:57 PDT 2008
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv20805
Modified Files:
Tag: REL_1_1_STABLE
remote_worker.c
Log Message:
Fix to bug #56
http://www.slony.info/bugzilla/show_bug.cgi?id=56
COPY_SET was using storeTrigger() rather than storeTrigger_int(), which
means that during the subscription, STORE TRIGGER events would proliferate
across the cluster rather than being confined to the new subscriber.
Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.86.2.17
retrieving revision 1.86.2.18
diff -C2 -d -r1.86.2.17 -r1.86.2.18
*** remote_worker.c 6 Mar 2007 18:47:24 -0000 1.86.2.17
--- remote_worker.c 9 Sep 2008 21:29:55 -0000 1.86.2.18
***************
*** 2752,2756 ****
{
slon_mkquery(&query1,
! "select %s.storeTrigger(%d, '%q'); ",
rtcfg_namespace, tab_id, PQgetvalue(res2, tupno2, 0));
if (query_execute(node, loc_dbconn, &query1) < 0)
--- 2752,2756 ----
{
slon_mkquery(&query1,
! "select %s.storeTrigger_int(%d, '%q'); ",
rtcfg_namespace, tab_id, PQgetvalue(res2, tupno2, 0));
if (query_execute(node, loc_dbconn, &query1) < 0)
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list