Re: pg_dump --table=* dumps nothing?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump --table=* dumps nothing?
Дата
Msg-id 27591.1065108822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump --table=* dumps nothing?  (David Walter <dwalter@syr.edu>)
Список pgsql-patches
David Walter <dwalter@syr.edu> writes:
> Using pg_dump version 7.3.4 with the following options
> no table data is dumped.

> pg_dump -i --table=* --schema-only db

Current sources interpret this as asking to dump a table named "*".
There was never any support for wildcards in the table parameter,
except for a mistaken comment in pg_dump --help.

I would not mind seeing support for actual pattern matching
(eg "--table=foo*" to select all tables beginning with "foo"),
but I don't see much value in supporting just table=*.  You can
get that result by leaving off the --table switch.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_dump --table=* dumps nothing?
Следующее
От: Darko Prenosil
Дата:
Сообщение: /src/interfaces/libpq/po/hr.po