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

Commit73293eb

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 parent1a2d9a6 commit73293eb

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
@@ -406,8 +406,8 @@ StrategySyncStart(uint32 *complete_passes, uint32 *num_buf_alloc)
406406
/*
407407
* StrategyNotifyBgWriter -- set or clear allocation notification latch
408408
*
409-
* IfbgwriterLatch isn'tNULL, the next invocation of StrategyGetBuffer will
410-
* set that latch. PassNULL to clear the pending notification before it
409+
* Ifbgwprocno isn't-1, the next invocation of StrategyGetBuffer will
410+
* set that latch. Pass-1 to clear the pending notification before it
411411
* happens. This feature is used by the bgwriter process to wake itself up
412412
* from hibernation, and is not meant for anybody else to use.
413413
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp