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

Commit3ac3ec5

Browse files
committed
Improve header comment for WaitLSNSetLatches()
Reflect the fact that we remove waiters from the heap, not just set theirlatches.
1 parent867d396 commit3ac3ec5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/commands/waitlsn.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ deleteLSNWaiter(void)
147147
}
148148

149149
/*
150-
* Set latches of LSN waiters whose LSN has been replayed. Set latches of all
151-
* LSN waiters when InvalidXLogRecPtr is given.
150+
* Remove waiters whose LSN has been replayed from the heap and set their
151+
* latches. If InvalidXLogRecPtr is given, remove all waiters from the heap
152+
* and set latches for all waiters.
152153
*/
153154
void
154155
WaitLSNSetLatches(XLogRecPtrcurrentLSN)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp