At 2004-09-20 10:20:03 -0400, [EMAIL PROTECTED] wrote:
>
> What you should be concerned with right now is providing an API for
> Parse + Describe Statement, to substitute for the existing approach
> of setting up statement objects via PQexec("PREPARE foo ...").

Fair enough. That's why my original proposal was to add only a PQprepare
function, which should be a patch small enough to write, test, and maybe
apply before 8.0:

>   PGresult *
>   PQprepare(PGconn *conn,
>             const char *stmtName,
>             const char *query,
>             int nParams,
>             const Oid *paramTypes);

Should I go ahead and do that?

-- ams

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to