Re: Restoring from older pg_dump files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restoring from older pg_dump files
Дата
Msg-id 27270.1176511904@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Restoring from older pg_dump files  ("Brooks, Jason" <Jason.Brooks@windriver.com>)
Список pgsql-admin
"Brooks, Jason" <Jason.Brooks@windriver.com> writes:
> The original file was created with pg_dump -cou.

One thing that's probably biting you is that 8.1 defaults to WITHOUT
OIDS, which is not an option 7.1 pg_dump even knows exists, so it's
not going to say WITH OIDS in the create commands, and then the
COPY WITH OIDS commands will fail ...

I concur with Josh's to use the newer version's pg_dump, but if you
can't, setting default_with_oids = true will probably help.  There
might be some lesser gotchas too --- what sorts of errors do you
get exactly after fixing that?

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Restoring from older pg_dump files
Следующее
От: ogjunk-pgjedan@yahoo.com
Дата:
Сообщение: REINDEX using only 1 CPU (of 2)