[HACKERS] bgwriter_lru_maxpages range in postgresql.conf - Mailing list pgsql-hackers

From Jeff Janes
Subject [HACKERS] bgwriter_lru_maxpages range in postgresql.conf
Date
Msg-id CAMkU=1wNaAw3tG8QnvR+g8rWjZNmvABFi7QJLmrYh00KNYduhQ@mail.gmail.com
Whole thread Raw
List 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

pgsql-hackers by date:

Previous
From: Nico Williams
Date:
Subject: Re: [HACKERS] proposal: schema variables
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] taking stdbool.h into use