Re: Pg-restore

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Pg-restore
Дата
Msg-id 43FC647B.4060707@archonet.com
обсуждение исходный текст
Ответ на Pg-restore  ("Ramzi M. Zeid" <ramzi.zeid@beecell.com>)
Список pgsql-bugs
Ramzi M. Zeid wrote:
> Hello all,
>
> Is the any way or command to make a restore for a single table from a TAR
> file that contains many table to another DB.

pg_restore -t <tablename> will work if it's a dump in the correct
format. See the manuals for details.

If it's just a bunch of INSERTS in a file you've built yourself, then
clearly not.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: BUG #2278: problem with grants
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with dump/restore and inheritance