Andrew Chernow <[EMAIL PROTECTED]> writes: > I attached a patch. You have to copy the events in PQmakeEmptyPGResult > because there is no where else to do this, other than copyresult but > that is different because it copies from a result not a conn.
Applied ... > PQgetResult now calls PQfireResultCreateEvents. ... except I didn't do that because the error handling didn't seem appropriate. Since PQmakeEmptyPGResult allows a null conn, PQfireResultCreateEvents ought to as well. So I just made it return false on failure. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers