What is the format of 'binary' data in the postgresql client/server protocol version 3

From: Eric Merritt <cyberlync(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: What is the format of 'binary' data in the postgresql client/server protocol version 3
Date: 2005-01-24 20:13:00
Message-ID: f69c840c050124121353751abe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2005-01-24 20:14:09 PGresult pointer and memory usage
Previous Message Tom Lane 2005-01-24 20:00:02 Re: Bug report in 7.4