Abhijit Menon-Sen <[EMAIL PROTECTED]> writes:
>> PGresult *
>> PQprepare(PGconn *conn,
>>           const char *stmtName,
>>           const char *query,
>>           int nParams,
>>           const Oid *paramTypes);

> Should I go ahead and do that?

(1) What about preparing an unnamed statement ... will you allow
stmtName = NULL to mean that?  (Actually it might be that stmtName = ""
will cover this, I'm too lazy to check the backend code right now.)
You do need to allow access to the unnamed statement because of 
Oliver Jowett's recent efficiency hacks.

(2) What about discovering the actually resolved parameter types?

                        regards, tom lane

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

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

Reply via email to