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

Commit67876a1

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 parentb2ed168 commit67876a1

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
@@ -2255,9 +2255,9 @@ AdvanceXLInsertBuffer(XLogRecPtr upto, bool opportunistic)
22552255
LWLockRelease(WALBufMappingLock);
22562256

22572257
#ifdefWAL_DEBUG
2258-
if (npages>0)
2258+
if (XLOG_DEBUG&&npages>0)
22592259
{
2260-
elog(DEBUG1,"initialized %d pages,upto %X/%X",
2260+
elog(DEBUG1,"initialized %d pages,up to %X/%X",
22612261
npages, (uint32) (NewPageEndPtr >>32), (uint32)NewPageEndPtr);
22622262
}
22632263
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp