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

Commite32bba2

Browse files
committed
Downgrade LOG messages to DEBUG1 for normal recycling of xlog, clog,
subtrans segments. Per Greg Mullane and Chris K-L.
1 parent7488929 commite32bba2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
4949
* Portions Copyright (c) 1994, Regents of the University of California
5050
*
51-
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.21 2004/08/29 05:06:40 momjian Exp $
51+
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.22 2004/09/06 03:04:27 tgl Exp $
5252
*
5353
*-------------------------------------------------------------------------
5454
*/
@@ -944,7 +944,7 @@ SlruScanDirectory(SlruCtl ctl, int cutoffPage, bool doDeletions)
944944
if (doDeletions)
945945
{
946946
snprintf(path,MAXPGPATH,"%s/%s",ctl->Dir,clde->d_name);
947-
ereport(LOG,
947+
ereport(DEBUG1,
948948
(errmsg("removing file \"%s\"",path)));
949949
unlink(path);
950950
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2004, 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.168 2004/08/30 02:54:38 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.169 2004/09/06 03:04:27 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2154,14 +2154,14 @@ MoveOfflineLogs(uint32 log, uint32 seg, XLogRecPtr endptr)
21542154
true,XLOGfileslop,
21552155
true))
21562156
{
2157-
ereport(LOG,
2157+
ereport(DEBUG1,
21582158
(errmsg("recycled transaction log file \"%s\"",
21592159
xlde->d_name)));
21602160
}
21612161
else
21622162
{
21632163
/* No need for any more future segments... */
2164-
ereport(LOG,
2164+
ereport(DEBUG1,
21652165
(errmsg("removing transaction log file \"%s\"",
21662166
xlde->d_name)));
21672167
unlink(path);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp