Re: ISBN: dump from 64bits and restore on 32 bits fail, Datum?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ISBN: dump from 64bits and restore on 32 bits fail, Datum?
Дата
Msg-id 8656.1313017129@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ISBN: dump from 64bits and restore on 32 bits fail, Datum?  (Daniel Cristian Cruz <danielcristian@gmail.com>)
Список pgsql-bugs
Daniel Cristian Cruz <danielcristian@gmail.com> writes:
> I'm in a project where there is one development server with 32bits
> architecture and all the others are 64 bits.

> The server where I generate the base models (in sense of version) is a 64
> bit. Dump and restore from this machine to all others 64bits development
> servers works well. When I try to restore it in the 32 bits server, it
> returns the following errors:

> [pg9@server ~]$ createdb isbn -T template0
> [pg9@server ~]$ pg_restore -d isbn /tmp/isbn.backup
> *ERROR:  internal size 8 is invalid for passed-by-value type*

This isn't a bug ... you need to load the appropriate version of
contrib/isn for that server.  Admittedly, pg_dump doesn't make that
terribly easy (it will work a lot better in 9.1 with the extensions
infrastructure).  In existing releases the best advice is to load
the .sql file for the contrib module, then source the dump, ignoring
the object-already-exists errors you get for the module's objects.

            regards, tom lane

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

Предыдущее
От: Daniel Cristian Cruz
Дата:
Сообщение: ISBN: dump from 64bits and restore on 32 bits fail, Datum?
Следующее
От: "Alex"
Дата:
Сообщение: BUG #6159: Can't create unlogged table