Chris Browne cbbrowne at lists.slony.info
Mon Feb 25 07:43:40 PST 2008
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv2886

Modified Files:
	cleanup_thread.c 
Log Message:
Remove call to SP logswitch_weekly(), as we are now doing log switches
rather more frequently


Index: cleanup_thread.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** cleanup_thread.c	13 Feb 2008 23:02:40 -0000	1.42
--- cleanup_thread.c	25 Feb 2008 15:43:38 -0000	1.43
***************
*** 132,146 ****
  				 TIMEVAL_DIFF(&tv_start, &tv_end));
  
- 		slon_mkquery(&query2,
- 			     "select %s.logswitch_weekly(); ",
- 			     rtcfg_namespace);
- 		res2 = PQexec(dbconn, dstring_data(&query2));
- 		if (PQresultStatus(res2) != PGRES_TUPLES_OK)
- 		{
- 			slon_log(SLON_WARN,
- 				 "cleanupThread: \"%s\" - %s",
- 				 dstring_data(&query2), PQresultErrorMessage(res2));
- 		}
- 		PQclear(res2);
  		/*
  		 * Detain the usual suspects (vacuum event and log data)
--- 132,135 ----



More information about the Slony1-commit mailing list