Commit 09698bb5 authored by Tom Lane's avatar Tom Lane

Make RemoveOldXlogFiles's debug printout match style used elsewhere:

log and seg aren't an XLogRecPtr and shouldn't be printed like one.
Fujii Masao
parent 449c73f4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.425 2010/06/17 16:41:25 tgl Exp $ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.426 2010/06/17 17:37:23 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -3253,7 +3253,8 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr) ...@@ -3253,7 +3253,8 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
#endif #endif
struct stat statbuf; struct stat statbuf;
elog(DEBUG2, "removing WAL segments older than %X/%X", log, seg); elog(DEBUG2, "removing WAL segments older than log file %u, segment %u",
log, seg);
/* /*
* Initialize info about where to try to recycle to. We allow recycling * Initialize info about where to try to recycle to. We allow recycling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment