aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/bufmgr.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-07-01 14:27:53 -0700
committerAndres Freund <andres@anarazel.de>2016-07-01 14:29:03 -0700
commit48bfeb244ff280bad9a81c67442065ae8fcda6b8 (patch)
tree2e73d577b79ca6f21fc7ec57d2437c029f6c7dfc /src/backend/storage/buffer/bufmgr.c
parent548af97fcec5543603c20b61fec60f8147a05b29 (diff)
downloadpostgresql-48bfeb244ff280bad9a81c67442065ae8fcda6b8.tar.gz
postgresql-48bfeb244ff280bad9a81c67442065ae8fcda6b8.zip
Improve WritebackContextInit() comment and prototype argument names.
Author: Masahiko Sawada Discussion: CAD21AoBD=Of1OzL90Xx4Q-3j=-2q7=S87cs75HfutE=eCday2w@mail.gmail.com
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
-rw-r--r--src/backend/storage/buffer/bufmgr.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index a67e5181fa9..76ade3727cd 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -4160,12 +4160,10 @@ ts_ckpt_progress_comparator(Datum a, Datum b, void *arg)
/*
* Initialize a writeback context, discarding potential previous state.
*
- * *max_coalesce is a pointer to a variable containing the current maximum
- * number of writeback requests that will be coalesced into a bigger one. A
- * value <= 0 means that no writeback control will be performed. max_pending
- * is a pointer instead of an immediate value, so the coalesce limits can
- * easily changed by the GUC mechanism, and so calling code does not have to
- * check the current configuration.
+ * *max_pending is a pointer instead of an immediate value, so the coalesce
+ * limits can easily changed by the GUC mechanism, and so calling code does
+ * not have to check the current configuration. A value is 0 means that no
+ * writeback control will be performed.
*/
void
WritebackContextInit(WritebackContext *context, int *max_pending)