[COMMITTERS] pgsql: pg_dump: Strict names with no matching schema

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема [COMMITTERS] pgsql: pg_dump: Strict names with no matching schema
Дата
Msg-id E1cQzOG-0002NX-BD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_dump: Strict names with no matching schema

When using pg_dump --strict-names and a schema pattern which doesn't
match any schemas (eg: --schema='nonexistant*'), we were incorrectly
throwing an error claiming no tables were found when, really, there
were no schemas found:

  -> pg_dump --strict-names --schema='nonexistant*'
  pg_dump: no matching tables were found for pattern "nonexistant*"

Fix that by changing the error message to say 'schemas' instead, since
that is what we are actually complaining about.

Noticed while testing pg_dump error cases.

Back-patch to 9.6 where --strict-names and this error message were
introduced.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/22a85b3fbe85a9f1c92de90192de001b7394b4fe

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: [COMMITTERS] pgsql: Fix overflow check in StringInfo; add missing casts
Следующее
От: Bruce Momjian
Дата:
Сообщение: [COMMITTERS] pgsql: pg_xlogdump: document --path behavior