pg_restore -t

Поиск
Список
Период
Сортировка
Искать
От
Rodríguez Rodríguez, Pere
Тема
pg_restore -t
Дата
Msg-id
B35596C2EFF3D2118EE100A0C94B2A60014BFB0E@palamos_nt
Список

Hello,

I have a backup make with pg_dump and I want to restore only a table definition.

I run pg_restore -s -t table_name ./backup_file > script.sql and it runs ok but in the script generated there aren't any alter table statment. So, I haven't primary key, and foreign keys in the script. Is this correct?

Thanks in advance,

Pere Rodríguez
Dpt. d'informàtica
Hospital de Palamós
Girona - Spain

В списке pgsql-general по дате отправления
От: Jason Tesser
Дата:
Сообщение: Re: Wal logs
От: Christophe Musielak
Дата:
FAQ