1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Revert "Fix comments in StrategyNotifyBgWriter()."

This reverts commit 0b7bcf7ad2, which
tried to fix the comments to reflect the change of API of the function
but actually the change had been made only for 9.5 or later.
This commit is contained in:
Tatsuo Ishii
2017-01-24 10:42:27 +09:00
parent 0b7bcf7ad2
commit dbaa621cb7

View File

@ -293,8 +293,8 @@ StrategySyncStart(uint32 *complete_passes, uint32 *num_buf_alloc)
/*
* StrategyNotifyBgWriter -- set or clear allocation notification latch
*
* If bgwprocno isn't -1, the next invocation of StrategyGetBuffer will
* set that latch. Pass -1 to clear the pending notification before it
* If bgwriterLatch isn't NULL, the next invocation of StrategyGetBuffer will
* set that latch. Pass NULL 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.
*/