Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?

Поиск
Список
Период
Сортировка
От G. Anthony Reina
Тема Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Дата
Msg-id 37A5CD83.C40B262F@nsi.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:

> I don't think you can do binary cursors across architectures.  The
> internal formats for most types are different, though you may be able to
> get away with string fields and int if the endian is the same.
>

No, it works just fine. All you have to do is to swap the endian format (Linux Intel
is little endian; SGI is big endian). We've been using this approach since Postgres
6.3.

-Tony




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: flex (was Re: [HACKERS] Installation procedure.)