Re: pg_dump "all tables" in 7.3.X

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump "all tables" in 7.3.X
Дата
Msg-id 1202.1056649588@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump "all tables" in 7.3.X  (Paul Ramsey <pramsey@refractions.net>)
Ответы Re: pg_dump "all tables" in 7.3.X  (Paul Ramsey <pramsey@refractions.net>)
Список pgsql-general
Paul Ramsey <pramsey@refractions.net> writes:
> We are trying to do an "all tables" dump using the 7.3.3 pg_dump, but
> are getting no love.  The pg_dump command which worked before, in 7.2,
> no longer returns any tables:
>    pg_dump -t "*" dbname
> Is this by design, or by accident?

By design.  Just omit the -t switch if you want all tables.

("*" is a legal table name, if perhaps not a very bright choice, so the
old behavior was really not consistent.)

            regards, tom lane

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

Предыдущее
От: Andrew Gould
Дата:
Сообщение: Re: pg_dump "all tables" in 7.3.X
Следующее
От: Paul Ramsey
Дата:
Сообщение: Re: pg_dump "all tables" in 7.3.X