At 2004-09-17 14:28:36 -0700, [EMAIL PROTECTED] wrote: > > > Assuming that anyone steps up and does the work, that is. > > So...any volunteers?
OK, how about adding a PQprepare (PQcreatePrepared?) function like this? PGresult * PQprepare(PGconn *conn, const char *stmtName, const char *query, int nParams, const Oid *paramTypes) { ... PQprepare would construct a Parse message to create a prepared statement named stmtName from the given query, with nParams types pre-declared. It could be called by DBD::Pg with nParams == 0 to let the server infer all of the parameter types. I suppose an asynchronous equivalent would also be needed. (Yes, I'm volunteering to write both functions.) -- 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