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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Дата
Msg-id 199908021702.NAA03758@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?  ("G. Anthony Reina" <reina@nsi.edu>)
Список 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.
> 

What doesn't work?  Floats?  Alignment problems?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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-hackers по дате отправления:

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