Re: Review: check existency of table for -t option (pg_dump) when pattern...

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Review: check existency of table for -t option (pg_dump) when pattern...
Дата
Msg-id CAFj8pRA7s9x_Y1eGbkbBUPkNYO2zKY2nB_w_AQjYXgq9cnLncg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Review: check existency of table for -t option (pg_dump) when pattern...  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers


2015-09-14 12:05 GMT+02:00 Teodor Sigaev <teodor@sigaev.ru>:
    (new version in attach), but patch shows some inconsistent output:
    % pg_dump -t 'aaa*'  postgres
    pg_dump: No matching tables were found
    % pg_dump -t 'aaa*' --strict-names postgres
    pg_dump: Table "aaa*" not found.

There are two different situation - first message says "there are not any table
for work", second says "There are not specific table(s) with specific names
(mask)". I am thinking so this information is enough interesting for showing.
Agree, but "aaa*" is not a table


Can be changed to "No matching table(s) were found for filter "aaa*" " ?

"TBL" is not a filter. May be:

No matching table(s) were found for pattern "aaa*" ?
No matching table(s) were found for pattern "TBL" ?

+1

it is better

Pavel
 


--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                   WWW: http://www.sigaev.ru/

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Review: check existency of table for -t option (pg_dump) when pattern...
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: PATCH: index-only scans with partial indexes