From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | Japin Li <japinli(at)hotmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Add hint message for check_log_destination() |
Date: | 2023-07-07 06:46:48 |
Message-ID: | CACJufxH7eeCczN8Yat68X-KOyf0tnW_NmnyRsiTxrsR3wTEo4w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jul 7, 2023 at 1:06 PM Japin Li <japinli(at)hotmail(dot)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?
>
> --
> Regrads,
> Japin Li.
>
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 ?
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Guo | 2023-07-07 07:02:59 | Re: BUG #17540: Prepared statement: PG switches to a generic query plan which is consistently much slower |
Previous Message | Gurjeet Singh | 2023-07-07 05:38:33 | Re: RFC: pg_stat_logmsg |