diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-17 17:37:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-17 17:37:23 +0000 |
commit | 09698bb5fb20a069f84ddbfab0bff9ae0d0f7c8a (patch) | |
tree | bcc8b6d61e73c3f7573cad7866155bbfd833047e /src | |
parent | 449c73f4668ef08ddaecf74834015d3d780d5da0 (diff) | |
download | postgresql-09698bb5fb20a069f84ddbfab0bff9ae0d0f7c8a.tar.gz postgresql-09698bb5fb20a069f84ddbfab0bff9ae0d0f7c8a.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index ab474c35b0d..72a1ae71f98 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * 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) #endif 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 |