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

Modified Files:
      Tag: REL_1_1_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.86.2.16
retrieving revision 1.86.2.17
diff -C2 -d -r1.86.2.16 -r1.86.2.17
*** remote_worker.c	28 Feb 2007 22:07:49 -0000	1.86.2.16
--- remote_worker.c	6 Mar 2007 18:47:24 -0000	1.86.2.17
***************
*** 3503,3507 ****
  		slon_mkquery(&query1,
  			     "insert into %s.sl_setsync_offline (ssy_setid, ssy_seqno) "
! 			     "values ('%d', '%d');",
  			     rtcfg_namespace, set_id, ssy_seqno);
  		rc = archive_append_ds(node, &query1);
--- 3503,3507 ----
  		slon_mkquery(&query1,
  			     "insert into %s.sl_setsync_offline (ssy_setid, ssy_seqno) "
! 			     "values ('%d', '%s');",
  			     rtcfg_namespace, set_id, ssy_seqno);
  		rc = archive_append_ds(node, &query1);



More information about the Slony1-commit mailing list