Re: bgwriter_lru_multiplier maximum value

Michael Paquier <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <[email protected]>
On Mon, Apr 01, 2019 at 10:27:13AM +0000, PG Doc comments form wrote:
> The server has an undocumented maximum value of 10 for
> bgwriter_lru_multiplier, and will fail to start if it's set higher than
> this:
> 
> LOG:  20 is outside the valid range for parameter "bgwriter_lru_multiplier"
> (0 .. 10)
> FATAL:  configuration file "/.../pgdata/postgresql.conf" contains errors

I would suggest something like that:
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -2050,7 +2050,8 @@ include_dir 'conf.d'
          Larger values provide some cushion against spikes in demand,
          while smaller values intentionally leave writes to be done by
          server processes.
-         The default is 2.0.
+         The default is 2.0.  The value can range from <literal>2.0</literal>
+         to <literal>10.0</literal>
          This parameter can only be set in the <filename>postgresql.conf</filename>
          file or on the server command line.
         </para>

Any opinions from others?
--
Michael
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlyiD5EACgkQnvQgOdby
QH2zOw//b5nxsb71ikScWc9bS2uVBbrYzM4KZ5gyzwMW9n9U6uwLop4xxejvQ1qi
nXRJnxYlqCZEe/5bW/rfyWCSmQdqxEGQmCJYt+KnMuD61lLRzxhOCI7lDJlSS0Sw
oe7pL2YURfVE26We937QSXsWMd7MzGwWek4mIU6ETwynfUQVPHUv82Tc05hRULMG
EOS4s/RN1i5ZL+WB4qZG8M+Up5YiOE9NXHsYUCigZHELI2YhlwbKU6dmwooi23Ea
j2+94HsklzkaGn/gUd1KaWQLc1GjZFXRdJCdRqtMXgRMf7lkGc9OC3JbGm1erAF7
0gpyFZAFKSLd1YtMZgmSsm0PZKXdjpdVAefJJPiOROlvYVDHTRSEzTK21b0YE98D
PzgC/sIU7+np3FxRaHd3QqNMxA+9hmEuwLsb63kTqfJKRQuegjLl59ko5gye2q9v
86NtxUonRTHz/tUyLQx3MkV7XJ5sFynVY3+9UMpgZNF72sXfyPv+JeDEq0X9wu8Z
gsZf4VHJfEycZWijHhAcoKZffoZnHJ3CIB2UMdJKz4q53JcYO8qNc5sGp0vzS3pf
ZkQVLxrVqJYPJX9YtWa2/8bcvVTAz2lqsG6ATp4qVmEkl3Hk/BV9M0OB3quRA+nY
3CVmGMwDdokOG7vM+EDRycPGB/5FpA7UNV1K1mLRjMxwYU/Ws3I=
=KcFK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.