Jan Wieck wieck at lists.slony.info
Sat Sep 8 07:21:42 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv20140/src/slon

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
Add the slony_logshipper.

This is a standalone utility that can be used with the slon -x option
to postprocess slony archive log files. Since it does not require any
changes in the existing slony or slonik functionality, I decided to
the current stable branch to be released with 1.2.12.

Jan


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.23
retrieving revision 1.124.2.24
diff -C2 -d -r1.124.2.23 -r1.124.2.24
*** remote_worker.c	29 Aug 2007 20:02:55 -0000	1.124.2.23
--- remote_worker.c	8 Sep 2007 14:21:40 -0000	1.124.2.24
***************
*** 2947,2951 ****
  		{
  			slon_mkquery(&query1,
! 			 "delete from %s;\ncopy %s %s from stdin;", tab_fqname, tab_fqname,
  						 nodeon73 ? "" : PQgetvalue(res3, 0, 0));
  			rc = archive_append_ds(node, &query1);
--- 2947,2951 ----
  		{
  			slon_mkquery(&query1,
! 			 "delete from only %s;\ncopy %s %s from stdin;", tab_fqname, tab_fqname,
  						 nodeon73 ? "" : PQgetvalue(res3, 0, 0));
  			rc = archive_append_ds(node, &query1);



More information about the Slony1-commit mailing list