7
7
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.433 2010/08/3014:22:05 sriggs Exp $
10
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.434 2010/08/3015:37:41 sriggs Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -3272,9 +3272,6 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
3272
3272
#endif
3273
3273
struct stat statbuf ;
3274
3274
3275
- elog (DEBUG2 ,"removing WAL segments older than log file %u, segment %u" ,
3276
- log ,seg );
3277
-
3278
3275
/*
3279
3276
* Initialize info about where to try to recycle to. We allow recycling
3280
3277
* segments up to XLOGfileslop segments beyond the current XLOG location.
@@ -3291,6 +3288,9 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
3291
3288
3292
3289
XLogFileName (lastoff ,ThisTimeLineID ,log ,seg );
3293
3290
3291
+ elog (DEBUG2 ,"attempting to remove WAL segments older than log file %s" ,
3292
+ lastoff );
3293
+
3294
3294
while ((xlde = ReadDir (xldir ,XLOGDIR ))!= NULL )
3295
3295
{
3296
3296
/*