pg_dump include/exclude fails to error

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pg_dump include/exclude fails to error
Дата
Msg-id CABUevEwC9Q_kmHRC6c5D2PE18FDvqbp_ZZUk88o38WRuJxjzXA@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_dump include/exclude fails to error  (Daniel Gustafsson <daniel@yesql.se>)
Re: pg_dump include/exclude fails to error  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
When including tables with the new pg_dump functionality, it fails to
error out if a table is missing, but only if more than one table is
specified.

E.g., if table foo exist, but not bar:

pg_dump --table bar
pg_dump: error: no matching tables were found

with file "myfilter" containing just "table bar"
pg_dump --filter myfilter
pg_dump: error: no matching tables were found

with the file "myfilter" containing both "table foo" and "table bar"
(order doesn't matter):
<no error, but dump of course only contains foo>

Not having looked into the code, but it looks to me like some variable
isn't properly reset, or perhaps there is a check for existence rather
than count?

//Magnus



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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: [DOC] Add detail regarding resource consumption wrt max_connections
Следующее
От: Michael Banck
Дата:
Сообщение: Re: [DOC] Add detail regarding resource consumption wrt max_connections