What is the format of 'binary' data in the postgresql client/server protocol version 3 - Mailing list pgsql-general

From Eric Merritt
Subject What is the format of 'binary' data in the postgresql client/server protocol version 3
Date
Msg-id f69c840c050124121353751abe@mail.gmail.com
Whole thread Raw
Responses Re: What is the format of 'binary' data in the postgresql client/server protocol version 3
List pgsql-general
Guys,

 I am in the middle of implementing postgresql's client server
protocol and I have run into a little issue. The spec says that in
general data can be of two types, 'text' and 'binary'. The text one is
generally pretty simple to figure out. However, there doesn't seem to
be any area of the docs that details format for 'binary' data. For
example, how do you serialize a float? How about an decimal type?,
etc.

I hope my question is clear and I look forward to your responses.

Thanks,
Eric
--
I'm a programmer, I don't have to spell correctly; I just have to
spell consistently

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug report in 7.4
Next
From: Jeff Davis
Date:
Subject: PGresult pointer and memory usage