Asunto: Re: Problems restoring a DB with oids
От
juanmime@ono.com
Тема
Asunto: Re: Problems restoring a DB with oids
Дата
Msg-id
40D794F2000011E9@mta02.ono.com
Ответ на
Re: Problems restoring a DB with oids (Tom Lane)
Список
Дерево обсуждения
restoring a database from a file copy Chris Fjell <cfjell@bcgsc.ca>
Re: restoring a database from a file copy Bruno Wolff III <bruno@wolff.to>
Problems restoring a DB with oids juanmime@ono.com
Re: Problems restoring a DB with oids Tom Lane <tgl@sss.pgh.pa.us>
Asunto: Re: Problems restoring a DB with oids juanmime@ono.com
Asunto: Re: Problems restoring a DB with oids juanmime@ono.com
Re: Asunto: Re: Problems restoring a DB with oids Tom Lane <tgl@sss.pgh.pa.us>
Re: Asunto: Re: Problems restoring a DB with oids Bruce Momjian <pgman@candle.pha.pa.us>
Thanks you very much Tom, Here is the solution to the problem: First: We have to restore (only) the structure (schema) of the database pg_restore -Ft -v -s db.tar -d database_name -U postgres -S postgres --disable-triggers Second: Restore the datas pg_restore -Ft -v -a db.tar -d database_name -U postgres -S postgres --disable-triggers I think, that in the first step, we can drop "-S postgres --disable-triggers" options. Thanks.
В списке pgsql-admin по дате отправления