pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: 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 12:22:43 +1300
Message-ID: <4383A843.7050101@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.61.0511221755060.14959@leary.csoft.net>
References: <4383305602000025000008E1@gwmta.wicourts.gov>
	<4383934B.6070700@opencloud.com>
	<Pine.BSO.4.61.0511221714200.13588@leary.csoft.net>
	<43839F36.6040206@opencloud.com>
	<Pine.BSO.4.61.0511221755060.14959@leary.csoft.net>

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



view thread (11+ messages)  latest in thread

Message-ID: <4383A843.7050101@opencloud.com>
Permalink:  ../4383A843.7050101@opencloud.com/
Also on:    postgresql.org/message-id/4383A843.7050101@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, books@ejurka.com, Kevin.Grittner@wicourts.gov
  Subject: Re: rollback ignored until end of transaction block
  In-Reply-To: <4383A843.7050101@opencloud.com>
  References: <4383305602000025000008E1@gwmta.wicourts.gov> <4383934B.6070700@opencloud.com> <Pine.BSO.4.61.0511221714200.13588@leary.csoft.net> <43839F36.6040206@opencloud.com> <Pine.BSO.4.61.0511221755060.14959@leary.csoft.net> <4383A843.7050101@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