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 14:30:00 |
Message-ID: | 20040920143000.GA14565@penne.toroid.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
At 2004-09-20 10:20:03 -0400, tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
>
> What you should be concerned with right now is providing an API for
> Parse + Describe Statement, to substitute for the existing approach
> of setting up statement objects via PQexec("PREPARE foo ...").
Fair enough. That's why my original proposal was to add only a PQprepare
function, which should be a patch small enough to write, test, and maybe
apply before 8.0:
> PGresult *
> PQprepare(PGconn *conn,
> const char *stmtName,
> const char *query,
> int nParams,
> const Oid *paramTypes);
Should I go ahead and do that?
-- ams
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-09-20 14:34:33 | Re: schema level variables and deferrable unique constraints |
Previous Message | Tom Lane | 2004-09-20 14:20:03 | Re: libpq and prepared statements progress for 8.0 |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-09-20 15:02:50 | Re: libpq and prepared statements progress for 8.0 |
Previous Message | Tom Lane | 2004-09-20 14:20:03 | Re: libpq and prepared statements progress for 8.0 |