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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Date: 1999-08-02 17:02:43
Message-ID: 199908021702.NAA03758@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message G. Anthony Reina 1999-08-02 17:14:15 Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Previous Message Tom Lane 1999-08-02 16:55:54 Re: flex (was Re: [HACKERS] Installation procedure.)