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

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, "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 16:55:32
Message-ID: 37A5CD83.C40B262F@nsi.edu
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.

-Tony

In response to

Responses

Browse pgsql-hackers by date

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