Re: Implementation of the frontend protocol

Поиск
Список
Период
Сортировка
От Peter Korsgaard
Тема Re: Implementation of the frontend protocol
Дата
Msg-id Pine.GSO.4.21.0011211631480.24610-100000@brille.control.auc.dk
обсуждение исходный текст
Ответ на Re: Implementation of the frontend protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi!

I'm still working on the SQL proxy, and I'm having some questions
regarding the insert/update/delete queries.

As far as I can tell there is no way of differenciating between
successfull insert/update/delete queries in libpq, they all return
PGRES_COMMAND_OK (PQresultStatus). This is unfortunate considering that I
have to send a different reply to the client for each of the 3 types of
queries (INSERT oid rows, UPDATE rows or DELETE rows). Is there any other
way than examinating the query string that I forward to the real database
server while using libpq or do I have to forget about libpq and use raw
sockets?

--
Bye, Peter Korsgaard


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] (download ANSI SQL benchmark?) Re: Postgres article
Следующее
От: Dirk Lutzebaeck
Дата:
Сообщение: Will there be replication support in 7.1 from erserver.com ?