pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: rollback ignored until end of transaction block
Date: Wed, 23 Nov 2005 10:53:15 +1300
Message-ID: <4383934B.6070700@opencloud.com> (raw)
In-Reply-To: <4383305602000025000008E1@gwmta.wicourts.gov>
References: <4383305602000025000008E1@gwmta.wicourts.gov>

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
> 	at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
> 	at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
> 	at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
> 	at
> org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:617)
> 	at
> org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:654)

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?

-O



view thread (11+ messages)  latest in thread

Message-ID: <4383934B.6070700@opencloud.com>
Permalink:  ../4383934B.6070700@opencloud.com/
Also on:    postgresql.org/message-id/4383934B.6070700@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, Kevin.Grittner@wicourts.gov
  Subject: Re: rollback ignored until end of transaction block
  In-Reply-To: <4383934B.6070700@opencloud.com>
  References: <4383305602000025000008E1@gwmta.wicourts.gov> <4383934B.6070700@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox