CVS User Account cvsuser
Fri Dec 9 21:32:07 PST 2005
Log Message:
-----------
Bug #1481 - missing column names in log shipping statements

Tags:
----
REL_1_1_STABLE

Modified Files:
--------------
    slony1-engine/src/slon:
        remote_worker.c (r1.86.2.10 -> r1.86.2.11)

-------------- next part --------------
Index: remote_worker.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.86.2.10
retrieving revision 1.86.2.11
diff -Lsrc/slon/remote_worker.c -Lsrc/slon/remote_worker.c -u -w -r1.86.2.10 -r1.86.2.11
--- src/slon/remote_worker.c
+++ src/slon/remote_worker.c
@@ -1570,7 +1570,7 @@
 			}
 			if (provider->pa_conninfo != NULL)
 				free(provider->pa_conninfo);
-			if (rtcfg_node->pa_conninfo == NULL)
+			if ((rtcfg_node != NULL) || (rtcfg_node->pa_conninfo == NULL))
 				provider->pa_conninfo = NULL;
 			else
 				provider->pa_conninfo = strdup(rtcfg_node->pa_conninfo);
@@ -3532,7 +3532,7 @@
 	}
 	if (archive_dir) {
 		slon_mkquery(&query1,
-			     "insert into %s.sl_setsync_offline () "
+			     "insert into %s.sl_setsync_offline (ssy_setid, ssy_seqno) "
 			     "values ('%d', '%d');",
 			     rtcfg_namespace, set_id, ssy_seqno);
 		rc = submit_query_to_archive(&query1);


More information about the Slony1-commit mailing list