CVS User Account cvsuser
Tue Dec 13 21:42:35 PST 2005
Log Message:
-----------
Remove logic that creates the node differently if no_spool is set;
all nodes are now "real nodes," including those that feed log shipping.

Modified Files:
--------------
    slony1-engine/src/slonik:
        slonik.c (r1.53 -> r1.54)

-------------- next part --------------
Index: slonik.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -Lsrc/slonik/slonik.c -Lsrc/slonik/slonik.c -u -w -r1.53 -r1.54
--- src/slonik/slonik.c
+++ src/slonik/slonik.c
@@ -2164,8 +2164,8 @@
 
 	dstring_init(&query);
 
-	if (!stmt->no_spool)
-	{
+        /* Eliminate no_spool evaluation - all nodes are "real nodes" */  /* if (!stmt->no_spool) */
+		
 		if (db_begin_xact((SlonikStmt *) stmt, adminfo1) < 0)
 		{
 			dstring_free(&query);
@@ -2454,7 +2454,6 @@
 			}
 		}
 		PQclear(res);
-	}
 
 	/* On the existing node, call storeNode() and enableNode() */
 	slon_mkquery(&query,


More information about the Slony1-commit mailing list