Re: Need for protocol description

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Need for protocol description
Дата
Msg-id 20011018233811.I7364@svana.org
обсуждение исходный текст
Ответ на Need for protocol description  ("Dinesh Parikh" <dineshp@newgen.co.in>)
Список 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 по дате отправления:

Предыдущее
От: "Dinesh Parikh"
Дата:
Сообщение: Need for protocol description
Следующее
От: David Pirotte
Дата:
Сообщение: Re: [Off-topic, Meta-question] Problems with psql-general list