Re: Disallow setting client_min_messages > ERROR?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disallow setting client_min_messages > ERROR?
Дата
Msg-id 8417.1541522260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Disallow setting client_min_messages > ERROR?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Disallow setting client_min_messages > ERROR?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2018-11-06 11:19:40 -0500, Tom Lane wrote:
>> Hence, I propose that we should disallow setting client_min_messages
>> any higher than ERROR, and that this probably even amounts to a
>> back-patchable bug fix.
>> 
>> Thoughts?

> Seems reasonable. I do think it's probably sensible to backpatch,
> although I wonder if we shouldn't clamp the value to ERROR at log
> emission error time, rather than via guc.c, so we don't prevent old code
> / postgresql.conf that set client_min_messages to > ERROR.

Hm, do you really think there is any?  And if there is, wouldn't we be
breaking it anyway thanks to the behavioral change?

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Disallow setting client_min_messages > ERROR?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Disallow setting client_min_messages > ERROR?