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

Commit90231cd

Browse files
committed
Add missing check for wal_debug GUC.
9a20a9b added a new elog(), enabled when WAL_DEBUG is defined. Theother WAL_DEBUG dependant messages check for the wal_debug GUC, but thisone did not. While at it replace 'upto' with 'up to'.Discussion: 20150610110253.GF3832@alap3.anarazel.deBackpatch to 9.4, the first release containing9a20a9b.
1 parent103382a commit90231cd

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,9 +1983,9 @@ AdvanceXLInsertBuffer(XLogRecPtr upto, bool opportunistic)
19831983
LWLockRelease(WALBufMappingLock);
19841984

19851985
#ifdefWAL_DEBUG
1986-
if (npages>0)
1986+
if (XLOG_DEBUG&&npages>0)
19871987
{
1988-
elog(DEBUG1,"initialized %d pages,upto %X/%X",
1988+
elog(DEBUG1,"initialized %d pages,up to %X/%X",
19891989
npages, (uint32) (NewPageEndPtr >>32), (uint32)NewPageEndPtr);
19901990
}
19911991
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp