Re: Doc about how to set max_wal_senders when setting minimal wal_level

Поиск
Список
Период
Сортировка
От Japin Li
Тема Re: Doc about how to set max_wal_senders when setting minimal wal_level
Дата
Msg-id MEYP282MB16691F4CAA4ED9766B7A5747B68F9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Doc about how to set max_wal_senders when setting minimal wal_level  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Doc about how to set max_wal_senders when setting minimal wal_level  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On Tue, 19 Jul 2022 at 03:58, Bruce Momjian <bruce@momjian.us> wrote:
> On Fri, Jul 15, 2022 at 09:29:20PM +0800, Japin Li wrote:
>> 
>> On Fri, 15 Jul 2022 at 08:49, Bruce Momjian <bruce@momjian.us> wrote:
>> > On Tue, Jul  5, 2022 at 08:02:33PM -0400, Tom Lane wrote:
>> >> "Precondition" is an overly fancy word that makes things less clear
>> >> not more so.  Does it mean that setting wal_level = minimal will fail
>> >> if you don't do these other things, or does it just mean that you
>> >> won't be getting the absolute minimum WAL volume?  If the former,
>> >> I think it'd be better to say something like "To set wal_level to minimal,
>> >> you must also set [these variables], which has the effect of disabling
>> >> both WAL archiving and streaming replication."
>> >
>> > I have created the attached patch to try to improve this text.
>> 
>> IMO we can add the following sentence for wal_level description, since
>> if wal_level = minimal and max_wal_senders > 0, we cannot start the database.
>> 
>> To set wal_level to minimal, you must also set max_wal_senders to 0,
>> which has the effect of disabling both WAL archiving and streaming
>> replication.
>
> Okay, text added in the attached patch.

Thanks for updating the patch! LGTM.

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: First draft of the PG 15 release notes
Следующее
От: John Naylor
Дата:
Сообщение: Re: NAMEDATALEN increase because of non-latin languages