Re: send Describe Portal message in PQsendPrepare - Mailing list pgsql-hackers

From Tom Lane
Subject Re: send Describe Portal message in PQsendPrepare
Date
Msg-id 29098.1360618746@sss.pgh.pa.us
Whole thread Raw
In response to send Describe Portal message in PQsendPrepare  (Manlio Perillo <manlio.perillo@gmail.com>)
Responses Re: send Describe Portal message in PQsendPrepare  (Manlio Perillo <manlio.perillo@gmail.com>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
Next
From: Phil Sorber
Date:
Subject: Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq