Re: postgres 9.0.4, pg_restore and indexes

Поиск
Список
Период
Сортировка
От Greg Williamson
Тема Re: postgres 9.0.4, pg_restore and indexes
Дата
Msg-id 1319503267.66489.YahooMailNeo@web46110.mail.sp1.yahoo.com
обсуждение исходный текст
Ответ на Re: postgres 9.0.4, pg_restore and indexes  (raghu ram <raghuchennuru@gmail.com>)
Ответы Re: postgres 9.0.4, pg_restore and indexes
Список pgsql-admin
Raghu Ram wrote:

<snip>

>
>Try with below work-around to restore only hosts table from compressed dump file:
>
>
>"pg_restore -t hosts -Fc /var/data/pgsql/backups/prodDB/20111017_puppet.pgdump > hosts_plaindump" [ i.e you'll get a
human-readabledump ] 
>


Did you actually try this ?

This does not include any references to indexes, constraints or sequences, all of which it might be useful to recreate.

What I am I missing ? Or is pg_restore just not capable of restoring the full definition of a table ? 

TIA,

Greg WIlliamson

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

Предыдущее
От: raghu ram
Дата:
Сообщение: Re: postgres 9.0.4, pg_restore and indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres 9.0.4, pg_restore and indexes