Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Date
Msg-id 199908021702.NAA03758@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?  ("G. Anthony Reina" <reina@nsi.edu>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: flex (was Re: [HACKERS] Installation procedure.)
Next
From: "G. Anthony Reina"
Date:
Subject: Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?