Extra periods in pg_dump messages - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Extra periods in pg_dump messages
Date
Msg-id 20231130.103900.2069212175914114279.horikyota.ntt@gmail.com
Whole thread Raw
Responses Re: Extra periods in pg_dump messages
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Lev Kokotov
Date:
Subject: Bug in pgbench prepared statements
Next
From: Peter Smith
Date:
Subject: Re: logical decoding and replication of sequences, take 2