Chris Browne cbbrowne at lists.slony.info
Tue Mar 6 10:47:47 PST 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main:/tmp/cvs-serv12172/src/slon

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
Found wrong data type handling in sprintf() that was causing log shipping
to break when a new set got subscribed and new sequences were added.


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.11
retrieving revision 1.124.2.12
diff -C2 -d -r1.124.2.11 -r1.124.2.12
*** remote_worker.c	28 Feb 2007 22:08:32 -0000	1.124.2.11
--- remote_worker.c	6 Mar 2007 18:47:45 -0000	1.124.2.12
***************
*** 3891,3895 ****
  		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);
--- 3891,3895 ----
  		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