Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac791d3

Browse files
Fix misleading DEBUG2 issued during RemoveOldXlogFiles()
1 parente72f15e commitac791d3

File tree

1 file changed

+4
-4
lines changed
  • src/backend/access/transam

1 file changed

+4
-4
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 4 additions & 4 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.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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -3272,9 +3272,6 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
32723272
#endif
32733273
structstatstatbuf;
32743274

3275-
elog(DEBUG2,"removing WAL segments older than log file %u, segment %u",
3276-
log,seg);
3277-
32783275
/*
32793276
* Initialize info about where to try to recycle to. We allow recycling
32803277
* segments up to XLOGfileslop segments beyond the current XLOG location.
@@ -3291,6 +3288,9 @@ RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
32913288

32923289
XLogFileName(lastoff,ThisTimeLineID,log,seg);
32933290

3291+
elog(DEBUG2,"attempting to remove WAL segments older than log file %s",
3292+
lastoff);
3293+
32943294
while ((xlde=ReadDir(xldir,XLOGDIR))!=NULL)
32953295
{
32963296
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp