X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F41B1DBE77 for ; Tue, 22 Nov 2005 19:22:46 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11834-09 for ; Tue, 22 Nov 2005 23:22:48 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by svr1.postgresql.org (Postfix) with ESMTP id 4FC16DBE5A for ; Tue, 22 Nov 2005 19:22:43 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EehTI-0002hU-G1; Wed, 23 Nov 2005 12:22:44 +1300 Message-ID: <4383A843.7050101@opencloud.com> Date: Wed, 23 Nov 2005 12:22:43 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka CC: Kevin Grittner , pgsql-jdbc@postgresql.org Subject: Re: rollback ignored until end of transaction block References: <4383305602000025000008E1@gwmta.wicourts.gov> <4383934B.6070700@opencloud.com> <43839F36.6040206@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/156 X-Sequence-Number: 14254 Kris Jurka wrote: > > > On Wed, 23 Nov 2005, Oliver Jowett wrote: > >> I just tried against a server built from HEAD and couldn't reproduce >> the problem any of the obvious ways.. Think we will need a testcase here. >> > > Another idea that occurred to me that I don't have time to test is that > processDeadParsedQueries or processDeadPortals doesn't like getting run > in a stalled transaction. No errors against CVS HEAD with the CloseStatement/ClosePortal messages being sent after an error, just before the ROLLBACK: [...] <=BE ReadyForQuery(E) caught expected exception closing query: select * from pg_proc simple execute, handler=org.postgresql.jdbc2.AbstractJdbc2Connection$TransactionCommandHandler@6443226, maxRows=0, fetchSize=0, flags=22 FE=> CloseStatement(S_11) FE=> ClosePortal(C_12) FE=> Bind(stmt=S_4,portal=null) FE=> Execute(portal=null,limit=1) FE=> Sync <=BE CloseComplete <=BE CloseComplete <=BE BindComplete [null] <=BE CommandStatus(ROLLBACK) <=BE ReadyForQuery(I) rollback was ok -O