Re: Bug to restore OID with pg_restore

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Bug to restore OID with pg_restore
Дата
Msg-id 200202011851.g11IpDi22039@candle.pha.pa.us
обсуждение исходный текст
Ответ на Bug to restore OID with pg_restore  ("abremond@voila.fr" <abremond@voila.fr>)
Список pgsql-bugs
abremond@voila.fr wrote:
> Hi,
>
> My server is a postgres v7.1.3.
> I have a database with OID and to backup my database i use this syntaxe :
> pg_dump -Ft -b -o -f mydb.tar mydb
> when i want restore my database i use this command line:
> pg_restore -o -d mydb mydb.tar
> and i have this error :
> Archiver(db): Could not execute query. No result from backend.
>
> Could you help me, because i can't put my database offline and so i can't restore it with pg_restore.
>
> I hope i am clear about my problem.
> Hoping to hear from you soon.

We only discovered this but recently, about two weeks ago.  We have a
fix in PostgreSQL 7.2RC2.  I think you can compile 7.2 and use that
pg_restore on a 7.1 database to restore.  It is the combination of -Ft
and -o that was at fault.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026 


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

Предыдущее
От: "Mark Jeacocke"
Дата:
Сообщение: PostgresSQL 7.1.3 not parsing SELECT portion of SQL correctly
Следующее
От: Marc Lavergne
Дата:
Сообщение: array_dims function is poorly behaved