Re: Asunto: Re: Problems restoring a DB with oids

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Asunto: Re: Problems restoring a DB with oids
Дата
Msg-id 2983.1088005839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Asunto: Re: Problems restoring a DB with oids  (juanmime@ono.com)
Ответы Re: Asunto: Re: Problems restoring a DB with oids  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
juanmime@ono.com writes:
> 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

[ scratches head... ]  Definitely seems that there is a bug in there
somewhere, if you have to do it that way.  I'll take a look later ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Non existent user error on restore
Следующее
От: "Jhonatas M. Rodríguez"
Дата:
Сообщение: A question about Join?...