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

From: Eric Merritt <cyberlync(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is the format of 'binary' data in the postgresql client/server protocol version 3
Date: 2005-01-25 00:41:53
Message-ID: f69c840c0501241641339315dd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 24 Jan 2005 18:54:01 -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Eric Merritt <cyberlync(at)gmail(dot)com> writes:
> > 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.
>
> Generally you have to look at the send/recv routines for the specific
> data type that you are wondering about.

Ik, ok I can do that. Any pointers to the particular sourcefile these
are implemented in?

> Sooner or later the comments on
> those routines should be transposed into the SGML documentation, but it
> hasn't happened yet.
>
> (There's still a strong streak of "use the source, Luke" in this
> community, if you hadn't noticed...)

Yea, but its all C and C hurts my eyes. ;)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Mayer 2005-01-25 00:53:47 xpath_list() question for contrib/xml2
Previous Message Alex Turner 2005-01-25 00:22:32 Object Relational, Foreign Keys and Triggers