Hello
We increased bgwriter_lru_maxpages limit in 10 release [1]. Docs now are
changed correctly but in REL_10_STABLE postgresql.conf.sample we still have
comment "0-1000 max buffers written/round".
Master (and REL_11_STABLE) was updated later in
611fe7d4793ba6516e839dc50b5319b990283f4f, but not REL_10. I think we need
backpatch this line.
* http://postgr.es/m/f6e58a22-030b-eb8a-5457-f62fb08d7...@bluetreble.com
regards, Sergei
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 3e68afd275..1c97f59ed3 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -155,7 +155,7 @@
# - Background Writer -
#bgwriter_delay = 200ms # 10-10000ms between rounds
-#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
+#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
#bgwriter_flush_after = 0 # measured in pages, 0 disables