Re: libpq and prepared statements progress for 8.0
| От | Abhijit Menon-Sen |
|---|---|
| Тема | Re: libpq and prepared statements progress for 8.0 |
| Дата | |
| Msg-id | 20040920055657.GA4950@penne.toroid.org обсуждение исходный текст |
| Ответ на | Re: libpq and prepared statements progress for 8.0 (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: libpq and prepared statements progress for 8.0
|
| Список | pgsql-hackers |
At 2004-09-20 01:25:56 -0400, gsstark@mit.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, intnParams, const Oid *paramTypes); PGresult * PQbind(PGconn *conn, const char *stmtName, const char *portalName, int nParams, const char *const *paramValues, const int *paramLengths, int nFormats, constint *paramFormats, int nResults, const int *resultFormats); PGresult * PQexecute(PGconn *conn, const char *portalName, int nRows); -- ams
В списке pgsql-hackers по дате отправления: