Re: restore single table

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: restore single table
Дата
Msg-id 003a01c10fa7$99593540$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на restore single table  (Liz Pelletier <liz@plandepot.com>)
Список pgsql-general
From: "Liz Pelletier" <liz@plandepot.com>

> If I have a dump of myDB, and I want to restore only two tables from
> this dump, is there a way to do this? Or do I have to restore the entire
> db?
>
> (BTW, using 7.1 on a Debian box.)

Try pg_restore if you used pg_dump's new option (never tried it myself).

If you dumped your database as text (INSERTs/COPY) it's cut & paste time (or
a couple of greps and a short perl script).

- Richard Huxton


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

Предыдущее
От: "Kapil Tilwani"
Дата:
Сообщение: Re: THIS IS NOT RELATED TO THE RDBMS BUT PLEEEEEEEEEEEEEASE
Следующее
От: will trillich
Дата:
Сообщение: Re: psql -l