At 2004-09-20 01:25:56 -0400, [EMAIL PROTECTED] 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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to