Re: Add hint message for check_log_destination()

Поиск
Список
Период
Сортировка
От Japin Li
Тема Re: Add hint message for check_log_destination()
Дата
Msg-id MEYP282MB166955B211FAF408AF6E8B4EB62DA@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Add hint message for check_log_destination()  (jian he <jian.universality@gmail.com>)
Ответы Re: Add hint message for check_log_destination()  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On Fri, 07 Jul 2023 at 14:46, jian he <jian.universality@gmail.com> wrote:
> On Fri, Jul 7, 2023 at 1:06 PM Japin Li <japinli@hotmail.com> wrote:
>>
>>
>> Hi, hackers
>>
>> When I try to change log_destination using ALTER SYSTEM with the wrong value,
>> it complains of the "Unrecognized key word" without available values.  This
>> patch tries to add a hint message that provides available values for
>> log_destination.  Any thoughts?
>>
>
> select  * from pg_settings where name ~* 'log.*destin*' \gx
>
> short_desc      | Sets the destination for server log output.
> extra_desc      | Valid values are combinations of "stderr", "syslog",
> "csvlog", "jsonlog", and "eventlog", depending on the platform.
>
> you can just reuse extra_desc in the pg_settings (view) column ?

Thanks for your review!

Yeah, the description of extra_desc is more accurate. Updated.

--
Regrads,
Japin Li.


Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [Patch] Use *other* indexes on the subscriber when REPLICA IDENTITY is FULL