Re: Roadmap for FE/BE protocol redesign - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Roadmap for FE/BE protocol redesign
Date
Msg-id 094601c2e903$f10e5fe0$6500a8c0@fhp.internal
Whole thread Raw
In response to Roadmap for FE/BE protocol redesign  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > One addition I would personally like to see (it comes up in my apps
> > code) is the ability to detect wheather the server is big endian or
> > little endian.  When using binary cursors this is necessary in order to
> > read int data.
>
> Actually, my hope is to eliminate that business entirely by
> standardizing the on-the-wire representation for binary data; note the
> reference to send/receive routines in the original message.  For integer
> data this is simple enough: network byte order will be it.  I'm not sure
> yet what to do about float data.

Is that something that the 'XDR' spec deals with?  (Thinking back to 3rd
year networking unit)...

Chris



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Roadmap for FE/BE protocol redesign
Next
From: Dave Cramer
Date:
Subject: Re: Roadmap for FE/BE protocol redesign