Re: Dump all except some tables?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dump all except some tables?
Дата
Msg-id 16900.1128606682@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Dump all except some tables?  (WireSpot <wirespot@gmail.com>)
Ответы Re: Dump all except some tables?  (David Fetter <david@fetter.org>)
Список pgsql-general
WireSpot <wirespot@gmail.com> writes:
> On 10/6/05, A. Kretschmer <akretschmer@despammed.com> wrote:
>> You can use the -t more than once.
>>
>> pg_dump -U foobar database -t foo -t foo1

> Yes, pg_dump doesn't complain. But it only takes the first one into
> consideration. I only get one table in the dump.

Right.  That's on the TODO list but not done yet :-(.

Berend gave you the right advice: dump the whole database using
pg_dump -Fc, then use pg_restore's features for selective restore.

            regards, tom lane

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

Предыдущее
От: Ly Lam Ngoc Bich
Дата:
Сообщение: How to uninstall Postgres on Iinux.
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: PostgreSQL 8.1 vs. MySQL 5.0?