Implementation of the frontend protocol

Поиск
Список
Период
Сортировка
От Peter Korsgaard
Тема Implementation of the frontend protocol
Дата
Msg-id Pine.GSO.4.21.0011141329180.19526-100000@brille.control.auc.dk
обсуждение исходный текст
Ответ на Semaphores was: Increasing the number of semaphores on FreeBSD 4. 1 (clarification)  (Roger Wernersson <roger.wernersson@mindark.com>)
Ответы Re: Implementation of the frontend protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Jules Bean
Дата:
Сообщение: Re: Is this proper UNION behavior??
Следующее
От: Wouter Tijhuis
Дата:
Сообщение: Multiple Inheritance