Skip to content

Commit 09698bb

Browse files
committed
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
1 parent 449c73f commit 09698bb

File tree

1 file changed

+3
-2
lines changed
  • src/backend/access/transam

1 file changed

+3
-2
lines changed

src/backend/access/transam/xlog.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.425 2010/06/17 16:41:25 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.426 2010/06/17 17:37:23 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -3253,7 +3253,8 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
32533253
#endif
32543254
struct stat statbuf;
32553255

3256-
elog(DEBUG2, "removing WAL segments older than %X/%X", log, seg);
3256+
elog(DEBUG2, "removing WAL segments older than log file %u, segment %u",
3257+
log, seg);
32573258

32583259
/*
32593260
* Initialize info about where to try to recycle to. We allow recycling

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy