Re: libpq and prepared statements progress for 8.0

From: Abhijit Menon-Sen <ams(at)oryx(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: libpq and prepared statements progress for 8.0
Date: 2004-09-20 15:23:37
Message-ID: 20040920152337.GA29324@penne.toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

At 2004-09-20 11:02:50 -0400, tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
>
> (1) What about preparing an unnamed statement ...

stmtName == "" will work.

> (2) What about discovering the actually resolved parameter types?

I'm not sure what to do about that.

I could extend PGresult to hold ParameterDescription information, then
provide accessor functions à la PQnfields/PQfformat. But that would be
a fairly intrusive change. And I shudder to even think about trying to
reuse the existing PGresult fields/accessors to do the job.

Do you have any suggestions?

-- ams

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Wheeler 2004-09-20 16:35:00 Re: libpq and prepared statements progress for 8.0
Previous Message Tom Lane 2004-09-20 15:02:50 Re: libpq and prepared statements progress for 8.0

Browse pgsql-patches by date

  From Date Subject
Next Message David Wheeler 2004-09-20 16:35:00 Re: libpq and prepared statements progress for 8.0
Previous Message T E Schmitz 2004-09-20 15:14:46 COUNT(*) to find records which have a certain number of dependencies ?