Обсуждение: Extra periods in pg_dump messages

Поиск
Список
Период
Сортировка

Extra periods in pg_dump messages

От
Kyotaro Horiguchi
Дата:
Sorry for the sequential mails.

In the bleeding-edge version of pg_dump, when a conditionspecifying an
index, for example, is described in an object filter file, the
following message is output. However, there is a period at the end of
the line. Shouldn't this be removed?

$ pg_dump --filter=/tmp/hoge.filter
pg_dump: error: invalid format in filter read from "/tmp/hoge.filter" on line 1: include filter for "index" is not
allowed.

The attached patch includes modifications related to the calls to
pg_log_filter_error().

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Вложения

Re: Extra periods in pg_dump messages

От
Daniel Gustafsson
Дата:
> On 30 Nov 2023, at 02:39, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:

> In the bleeding-edge version of pg_dump, when a conditionspecifying an
> index, for example, is described in an object filter file, the
> following message is output. However, there is a period at the end of
> the line. Shouldn't this be removed?

Yes, ending with a period is for detail and hint messages. Fixed.

--
Daniel Gustafsson