Re: send Describe Portal message in PQsendPrepare

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: send Describe Portal message in PQsendPrepare
Дата
Msg-id 29098.1360618746@sss.pgh.pa.us
обсуждение исходный текст
Ответ на send Describe Portal message in PQsendPrepare  (Manlio Perillo <manlio.perillo@gmail.com>)
Ответы Re: send Describe Portal message in PQsendPrepare  (Manlio Perillo <manlio.perillo@gmail.com>)
Список pgsql-hackers
Manlio Perillo <manlio.perillo@gmail.com> writes:
> What is the reason why PQsendPrepare function does not send a
> Describe Portal message?

That would add a round trip, no?

> Sending a Describe Portal message, make it possible for PQsendPrepare
> function to *return* a PGresult with more useful informations, instead
> of just the result status.

That's *definitely* wrong, because the entire point of the PQsend
functions is they don't wait for a server response.
        regards, tom lane



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
Следующее
От: Phil Sorber
Дата:
Сообщение: Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq