diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2017-01-24 10:29:04 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2017-01-24 10:29:04 +0900 |
commit | fb9d2ed6151d1220fc54b86142e3be85ce90ef9d (patch) | |
tree | 015a3dcb5cb8ace6f87fea37e84b9fff02ce8255 /src | |
parent | a73cc3eff3831d98ea3c6dbeb978b96f1bc72a42 (diff) | |
download | postgresql-fb9d2ed6151d1220fc54b86142e3be85ce90ef9d.tar.gz postgresql-fb9d2ed6151d1220fc54b86142e3be85ce90ef9d.zip |
Revert "Fix comments in StrategyNotifyBgWriter()."
This reverts commit a73cc3eff3831d98ea3c6dbeb978b96f1bc72a42, 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.
Diffstat (limited to 'src')
-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 77ffe3483d6..4befab0e1ad 100644 --- a/src/backend/storage/buffer/freelist.c +++ b/src/backend/storage/buffer/freelist.c @@ -290,8 +290,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. */ |