Thu Dec 8 13:09:03 PST 2005
- Previous message: [Slony1-commit] By wieck: Fix for the exzessive memory allocation problem when
- Next message: [Slony1-commit] By cbbrowne: Feature Request #1280 - Reduce generation of LISTEN/NOTIFY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Comment out redundant query parameter and fix query so it doesn't fail with schema names that need quoting.
Modified Files:
--------------
slony1-engine/src/slon:
remote_listen.c (r1.26 -> r1.27)
-------------- next part --------------
Index: remote_listen.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_listen.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lsrc/slon/remote_listen.c -Lsrc/slon/remote_listen.c -u -w -r1.26 -r1.27
--- src/slon/remote_listen.c
+++ src/slon/remote_listen.c
@@ -231,8 +231,8 @@
slon_mkquery(&query1,
"listen \"_%s_Event\"; "
/* skip confirms "listen \"_%s_Confirm\"; " */
- "select _%s.registerNodeConnection(%d); ",
- rtcfg_cluster_name, rtcfg_cluster_name,
+ "select %s.registerNodeConnection(%d); ",
+ rtcfg_cluster_name, /* rtcfg_cluster_name, */
rtcfg_namespace, rtcfg_nodeid);
res = PQexec(dbconn, dstring_data(&query1));
if (PQresultStatus(res) != PGRES_TUPLES_OK)
- Previous message: [Slony1-commit] By wieck: Fix for the exzessive memory allocation problem when
- Next message: [Slony1-commit] By cbbrowne: Feature Request #1280 - Reduce generation of LISTEN/NOTIFY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list