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