mirror of
https://github.com/postgres/postgres.git
synced 2026-02-24 02:11:28 -05:00
Fix comments in StrategyNotifyBgWriter().
The interface for the function was changed in
d72731a704 but the comments of the
function was not updated.
Patch by Yugo Nagata.
This commit is contained in:
parent
7de7f80a5f
commit
a73cc3eff3
1 changed files with 2 additions and 2 deletions
|
|
@ -290,8 +290,8 @@ StrategySyncStart(uint32 *complete_passes, uint32 *num_buf_alloc)
|
|||
/*
|
||||
* StrategyNotifyBgWriter -- set or clear allocation notification latch
|
||||
*
|
||||
* If bgwriterLatch isn't NULL, the next invocation of StrategyGetBuffer will
|
||||
* set that latch. Pass NULL to clear the pending notification before it
|
||||
* If bgwprocno isn't -1, the next invocation of StrategyGetBuffer will
|
||||
* set that latch. Pass -1 to clear the pending notification before it
|
||||
* happens. This feature is used by the bgwriter process to wake itself up
|
||||
* from hibernation, and is not meant for anybody else to use.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue