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

Commitdf9e034

Browse files
committed
Fix comments in StrategyNotifyBgWriter().
The interface for the function was changed ind72731a but the comments of thefunction was not updated.Patch by Yugo Nagata.
1 parentc3364a0 commitdf9e034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/buffer/freelist.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ StrategySyncStart(uint32 *complete_passes, uint32 *num_buf_alloc)
290290
/*
291291
* StrategyNotifyBgWriter -- set or clear allocation notification latch
292292
*
293-
* IfbgwriterLatch isn'tNULL, the next invocation of StrategyGetBuffer will
294-
* set that latch. PassNULL to clear the pending notification before it
293+
* Ifbgwprocno isn't-1, the next invocation of StrategyGetBuffer will
294+
* set that latch. Pass-1 to clear the pending notification before it
295295
* happens. This feature is used by the bgwriter process to wake itself up
296296
* from hibernation, and is not meant for anybody else to use.
297297
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp