Re: Need for protocol description - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Need for protocol description
Date
Msg-id 20011018233811.I7364@svana.org
Whole thread Raw
In response to Need for protocol description  ("Dinesh Parikh" <dineshp@newgen.co.in>)
List pgsql-general
On Thu, Oct 18, 2001 at 06:02:43PM +0530, Dinesh Parikh wrote:
> Hi All

> I want protocol descriptions of Postgresql 7.1 I mean how Postgres listens
> request at default port 5432. If one wants to write to execute some query
> using its program(like in C, java) directry by sending data at server
> socket 5432 then how this task can be achieved. Can anybody tell me from
> where i can find this.

I suggest you use libpq (C), libpq++ (C++), Pg.pm (Perl), etc... There are
already interface libraries for this already. Use one of those.

If you really want to do it, I don't know if there is an actual description
but there is always the source.
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

pgsql-general by date:

Previous
From: "Dinesh Parikh"
Date:
Subject: Need for protocol description
Next
From: David Pirotte
Date:
Subject: Re: [Off-topic, Meta-question] Problems with psql-general list