Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command
Дата
Msg-id B9A9C944-9EAC-421C-8044-EF109ADAC4D4@yesql.se
обсуждение исходный текст
Ответ на BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-bugs
> On 17 Aug 2021, at 06:34, PG Bug reporting form <noreply@postgresql.org> wrote:

>    In PG14 beta3, when I use pg_amcheck command, both --no-strict-names
> option and --quiet option are specified, the warning message of --database
> option is not suppressed.
>    The official website is described as follows:
>> --no-strict-names
>>   By default, if an argument to --database, --table, --index, or
> --relation matches no objects, it is a fatal error.
>>   This option downgrades that error to a warning. If this option is
> used with --quiet, the warning will be suppressed as well.
>
>    When I specify a non-existent database name for the --database option,
> and specify the --no-strict-names option and the --quiet option,
>    pg_amcheck command should not return any message, but it still returns
> the warning message.

Agreed, in order to match the documentation the attached is required, which
also matches other invocations of log_no_match().  This should be applied
backpatched to 14 unless there are objections.

--
Daniel Gustafsson        https://vmware.com/


Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: BUG #17149: About --skip option of pg_amcheck command
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #17142: COPY ignores client_encoding for octal digit characters