diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2017-01-24 09:39:11 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2017-01-24 09:50:08 +0900 |
commit | 557917769ada4988c15f81f44ed278a5c8c687a4 (patch) | |
tree | 3b23b9476d759714935599750b92c726d1f041b2 | |
parent | 9cb83818ccfa116309283cff1c01ca2b75670aa7 (diff) | |
download | postgresql-557917769ada4988c15f81f44ed278a5c8c687a4.tar.gz postgresql-557917769ada4988c15f81f44ed278a5c8c687a4.zip |
Fix comments in StrategyNotifyBgWriter().
The interface for the function was changed in
d72731a70450b5e7084991b9caa15cb58a2820df but the comments of the
function was not updated.
Patch by Yugo Nagata.
-rw-r--r-- | src/backend/storage/buffer/freelist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c index bc2c7730003..31237acb860 100644 --- a/src/backend/storage/buffer/freelist.c +++ b/src/backend/storage/buffer/freelist.c @@ -400,8 +400,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. */ |