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

Commit3cf39e6

Browse files
committed
Fix a stupid bug I introduced into XLogFlush().
Commitf11e8be broke this; it was rightin Peter's original patch, but I messed it up before committing.
1 parent3bb592b commit3cf39e6

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,10 @@ XLogFlush(XLogRecPtr record)
21052105
/* Got the lock; recheck whether request is satisfied */
21062106
LogwrtResult=XLogCtl->LogwrtResult;
21072107
if (XLByteLE(record,LogwrtResult.Flush))
2108+
{
2109+
LWLockRelease(WALWriteLock);
21082110
break;
2111+
}
21092112

21102113
/*
21112114
* Sleep before flush! By adding a delay here, we may give further

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp