Re: libpq and prepared statements progress for 8.0 - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: libpq and prepared statements progress for 8.0
Date
Msg-id 20040920055657.GA4950@penne.toroid.org
Whole thread Raw
In response to Re: libpq and prepared statements progress for 8.0  (Greg Stark <gsstark@mit.edu>)
Responses Re: libpq and prepared statements progress for 8.0  (Greg Stark <gsstark@mit.edu>)
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: libpq and prepared statements progress for 8.0
Next
From: "Michael Paesold"
Date:
Subject: Re: Disabling bgwriter on my notebook