Thu Sep 7 06:00:12 PDT 2006
- Next message: [Slony1-commit] By xfade: * recommit after crash * The multiplemoveset test doesnt need
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
* recommit after crash *
Per Julian Scarfe <julian.scarfe at ntlworld.com>
the following patch avoids any FATAL errors on switchover now (regardless of the
insertion of wait for event).
Modified Files:
--------------
slony1-engine/src/slon:
local_listen.c (r1.37 -> r1.38)
-------------- next part --------------
Index: local_listen.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/local_listen.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -Lsrc/slon/local_listen.c -Lsrc/slon/local_listen.c -u -w -r1.37 -r1.38
--- src/slon/local_listen.c
+++ src/slon/local_listen.c
@@ -511,8 +511,8 @@
dstring_init(&query2);
slon_mkquery(&query2,
"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);
res2 = PQexec(dbconn, dstring_data(&query2));
if (PQresultStatus(res2) != PGRES_TUPLES_OK)
{
- Next message: [Slony1-commit] By xfade: * recommit after crash * The multiplemoveset test doesnt need
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list