Abhijit Menon-Sen <[EMAIL PROTECTED]> writes: > At 2004-10-16 18:41:05 -0400, [EMAIL PROTECTED] wrote: >> I think the cleanest solution is probably to add a state flag indicating >> whether ParseComplete should generate a PGresult or not.
> Like the appended (incremental) patch? Not exactly --- the way you've got this set up, a failed PQprepare will leave a booby trap for the next operation. The flag has got to be reset on command send, not on receipt of a success response. I'll find a better place to do it. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster