| От | Tom Lane |
|---|---|
| Тема | Re: Help pg_restore |
| Дата | |
| Msg-id | 13280.1014765594@sss.pgh.pa.us обсуждение |
| Ответ на | Help pg_restore (Trevor Astrope <astrope@e-corp.net>) |
| Список | pgsql-admin |
Trevor Astrope <astrope@e-corp.net> writes:
> I'm trying to restore a database dumped with pg_dump with the -o -Fc
> options with pg_restore from a 7.1.3 database into a 7.1.3 database on
> another machine.
> When using the -d option in pg_restore, I get this error:
> Connecting to database for restore
> Creating <Init> Max OID
> Archiver(db): Could not execute query. No result from backend.
This is a known bug in 7.1.* pg_restore: it doesn't work with -o -Fc
(nor -o -Ft) archives. It's fixed in 7.2.
If you don't want to update your server to 7.2 just yet, I believe it
will work to install only the 7.2 version of pg_restore and use that
to restore this archive.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера