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

From Bruce Momjian
Subject Re: Getting the results columns before execution
Date
Msg-id 200401250407.i0P47S306985@candle.pha.pa.us
Whole thread Raw
In response to Re: Getting the results columns before execution  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Getting the results columns before execution  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 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.

Uh, if libpq doesn't know about it, how is that information accessed?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [patch] jdbc build fix when ./configure is run in separate
Next
From: Bruce Momjian
Date:
Subject: compile failure on xmalloc()