Chris Browne cbbrowne at lists.slony.info
Wed Mar 14 08:55:08 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv8610/src/slon

Modified Files:
	remote_worker.c 
Log Message:
Fix log shipping bug - setting the initial offline SetSYNC value had
a %d in the printf rather than %s


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** remote_worker.c	28 Feb 2007 22:09:20 -0000	1.134
--- remote_worker.c	14 Mar 2007 15:55:06 -0000	1.135
***************
*** 3888,3892 ****
  		slon_mkquery(&lsquery,
  			     "insert into %s.sl_setsync_offline (ssy_setid, ssy_seqno) "
! 			     "values ('%d', '%d');",
  			     rtcfg_namespace, set_id, ssy_seqno);
  		rc = archive_append_ds(node, &lsquery);
--- 3888,3892 ----
  		slon_mkquery(&lsquery,
  			     "insert into %s.sl_setsync_offline (ssy_setid, ssy_seqno) "
! 			     "values ('%d', '%s');",
  			     rtcfg_namespace, set_id, ssy_seqno);
  		rc = archive_append_ds(node, &lsquery);



More information about the Slony1-commit mailing list