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 954BEDBDF7 for ; Tue, 22 Nov 2005 18:44:08 -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 07018-04 for ; Tue, 22 Nov 2005 22:44:10 +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 EA82DDBDE2 for ; Tue, 22 Nov 2005 18:44:05 -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 1Eegru-0002Og-QT; Wed, 23 Nov 2005 11:44:06 +1300 Message-ID: <43839F36.6040206@opencloud.com> Date: Wed, 23 Nov 2005 11:44:06 +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> 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/153 X-Sequence-Number: 14251 Kris Jurka wrote: > > > On Wed, 23 Nov 2005, Oliver Jowett wrote: > >> Kevin Grittner wrote: >> >>> Is there any context where this would make sense?: >>> >>> org.postgresql.util.PSQLException: ERROR: current transaction is >>> aborted, commands ignored until end of transaction block >> >> >> Huh, that *is* weird. rollback() should do nothing but execute >> ROLLBACK, which shouldn't trigger that error.. How did you get it into >> that state? Can you run with loglevel=2 and see what the trace says? >> What driver version? >> > > This thread might be relevent. Checking might have been tightened up > too much? > > http://archives.postgresql.org/pgsql-bugs/2005-11/msg00094.php 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. -O