Implementation of the frontend protocol

From: Peter Korsgaard <jacmet(at)control(dot)auc(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Implementation of the frontend protocol
Date: 2000-11-14 13:49:51
Message-ID: Pine.GSO.4.21.0011141329180.19526-100000@brille.control.auc.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

I'm developing a SQL proxy and I would like to implement the server
protocol used by Postgres, so the proxy may act like a PostgreSQL server
towards the clients.

I have read the nice and clean documentation of the protocol on
http://www.postgresql.org/docs/programmer/protocol.htm, but instead of
reimplementating the protocol I would like to reuse the current
implementation.

As far as I can tell from the protocol specification and the description
of how PostgreSQL processes a query (src/tools/backend/index.html) it is
implemented in or around src/backend/postmaster/postmaster.c and
src/backend/tcop/postgres.c - but I still have a bit of problems finding
my way around the sourcecode.

Could anyone direct me to the specific parts of the sourcecode dealing
with the frontend/backend protocol?

--
Bye, Peter Korsgaard

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wouter Tijhuis 2000-11-14 14:04:12 Multiple Inheritance
Previous Message Jules Bean 2000-11-14 13:35:14 Re: Is this proper UNION behavior??