Re: Getting the results columns before execution - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Getting the results columns before execution
Date
Msg-id 28522.1074529662@sss.pgh.pa.us
Whole thread Raw
In response to Re: Getting the results columns before execution  (Shachar Shemesh <psql@shemesh.biz>)
Responses Re: Getting the results columns before execution  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Shachar Shemesh <psql@shemesh.biz> writes:
> Tom Lane wrote:
>> Sure it is, if you are using the V3 protocol (new in 7.4).
>> See the Describe message types.

> Are those exposed through the libpq interface?

No, because libpq doesn't really have any concept of prepared statements.
It would probably make sense to add some more API to libpq to allow
creation and interrogation of prepared statements, but no one's got
around to that yet.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: logging enhancement recap
Next
From: Jan Wieck
Date:
Subject: Re: Incremental Backup (Was: And ppl complain about *our*