bgwriter_lru_maxpages range in postgresql.conf

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема bgwriter_lru_maxpages range in postgresql.conf
Дата
Msg-id CAMkU=1zAETupZDfthHe8pvQqpZovq4ZgJ=GmWgK3oh6vP3PDBw@mail.gmail.com
обсуждение исходный текст
Ответы Re: bgwriter_lru_maxpages range in postgresql.conf
Список pgsql-hackers
(My earlier post has been stuck in infinite moderation due to the use of a common 6 letter abbreviation for configuration, so I will try again without it)


With v10, commit 14ca9abfbe4643408a, 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 configuration file, so maybe something like this:?

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

Cheers,

Jeff

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Inlining functions with "expensive" parameters
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Transaction control in procedures