bgwriter_lru_maxpages range in postgresql.conf

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: bgwriter_lru_maxpages range in postgresql.conf
Date: 2017-10-26 22:40:08
Message-ID: CAMkU=1wNaAw3tG8QnvR+g8rWjZNmvABFi7QJLmrYh00KNYduhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

With v10, the upper limit on bgwriter_lru_maxpages was changed from 1000 to
INT_MAX / 2, but the postgresql.conf.sample was not updated.

#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round

I don't see any precedence for including INT_MAX-type limits in the sample
config file, so maybe something like this:

#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 to turn
off

Cheers,

Jeff

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-10-26 22:48:33 Re: taking stdbool.h into use
Previous Message Nico Williams 2017-10-26 22:07:33 Re: proposal: schema variables