From: | Abhijit Menon-Sen <ams(at)oryx(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Greg Stark <gsstark(at)mit(dot)edu> |
Subject: | Re: libpq and prepared statements progress for 8.0 |
Date: | 2004-09-20 05:56:57 |
Message-ID: | 20040920055657.GA4950@penne.toroid.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
At 2004-09-20 01:25:56 -0400, gsstark(at)mit(dot)edu wrote:
>
> That means you also need to add a new Execute method that takes a
> portalName instead of a command.
Yes, thanks. How about these functions, then?
PGresult *
PQprepare(PGconn *conn,
const char *stmtName,
const char *query,
int nParams,
const Oid *paramTypes);
PGresult *
PQbind(PGconn *conn,
const char *stmtName,
const char *portalName,
int nParams,
const char *const *paramValues,
const int *paramLengths,
int nFormats,
const int *paramFormats,
int nResults,
const int *resultFormats);
PGresult *
PQexecute(PGconn *conn,
const char *portalName,
int nRows);
-- ams
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paesold | 2004-09-20 06:02:07 | Re: Disabling bgwriter on my notebook |
Previous Message | Greg Stark | 2004-09-20 05:25:56 | Re: libpq and prepared statements progress for 8.0 |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2004-09-20 06:16:50 | Re: libpq and prepared statements progress for 8.0 |
Previous Message | Greg Stark | 2004-09-20 05:25:56 | Re: libpq and prepared statements progress for 8.0 |