Fri Aug 18 11:51:46 PDT 2006
- Previous message: [Slony1-commit] By cbbrowne: Add in new test: testmultiplemoves This creates 3 nodes,
- Next message: [Slony1-commit] By cbbrowne: Mention more things that this test tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Per Julian Scarfe <julian at avbrief.com>, need for the query
select sub_provider from %s.sl_subscribe where sub_receiver = %d and
sub_set = %d
to specify sub_set, that way it doesn't consider itself to error out when
there is more than one set received by the node.
Modified Files:
--------------
slony1-engine/src/slon:
remote_worker.c (r1.120 -> r1.121)
-------------- next part --------------
Index: remote_worker.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -Lsrc/slon/remote_worker.c -Lsrc/slon/remote_worker.c -u -w -r1.120 -r1.121
--- src/slon/remote_worker.c
+++ src/slon/remote_worker.c
@@ -1218,8 +1218,8 @@
slon_mkquery(&query1,
"select sub_provider from %s.sl_subscribe "
- " where sub_receiver = %d",
- rtcfg_namespace, rtcfg_nodeid);
+ " where sub_receiver = %d and sub_set = %d",
+ rtcfg_namespace, rtcfg_nodeid, set_id);
res = PQexec(local_dbconn, dstring_data(&query1));
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
- Previous message: [Slony1-commit] By cbbrowne: Add in new test: testmultiplemoves This creates 3 nodes,
- Next message: [Slony1-commit] By cbbrowne: Mention more things that this test tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list