pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: joël Winteregg <joel.winteregg@gmail.com>
To: Kris Jurka <books@ejurka.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: XAResource implementation
Date: Sat, 17 Nov 2007 18:01:14 +0100
Message-ID: <1195318874.5559.50.camel@hatman> (raw)
In-Reply-To: <Pine.BSO.4.64.0711140423050.12400@leary.csoft.net>
References: <1193736934.5565.40.camel@hatman>
	<4727420A.4060209@enterprisedb.com>
	<1193757567.5565.46.camel@hatman>
	<47275A50.2050201@enterprisedb.com>
	<47275BA6.3030200@enterprisedb.com>
	<1194819933.5545.100.camel@hatman>
	<47382418.604@enterprisedb.com>
	<1194939010.5505.24.camel@hatman>
	<4739D5FB.9080202@enterprisedb.com>
	<Pine.BSO.4.64.0711131301130.21066@leary.csoft.net>
	<473A2AB3.2040701@enterprisedb.com>
	<Pine.BSO.4.64.0711140423050.12400@leary.csoft.net>

Hello Kris,


I saw your change on CVS (Rev 1.13 of PGXAConnection.java). Do you know
when it would be packaged with a new build number ?

Would it be postgresql-8.X-507.jdbcX.jar ?


Many thanks in advance !

Joël

On Wed, 2007-11-14 at 17:11 -0500, Kris Jurka wrote:
> 
> On Tue, 13 Nov 2007, Heikki Linnakangas wrote:
> 
> > Oh, I had forgotten about that. The difference is the close() between the 
> > getConnection()s.
> >
> > I started having second doubts about that case you posted in June, so I 
> > tested what Derby does if you call getConnection() twice, without a close in 
> > between. You get an error ("Cannot close a connection while a global 
> > transaction is still active."), so at least they consider it incorrect as 
> > well.
> 
> I'm not super happy that explicit close vs implicit close has different 
> transactional behavior, but people really shouldn't be writing code like 
> this, so I've applied your patch to 8.1, 8.2 and HEAD.
> 
> Kris Jurka
> 




view thread (18+ messages)  latest in thread

Message-ID: <1195318874.5559.50.camel@hatman>
Permalink:  ../1195318874.5559.50.camel@hatman/
Also on:    postgresql.org/message-id/1195318874.5559.50.camel@hatman

 · 

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: joel.winteregg@gmail.com, books@ejurka.com, heikki@enterprisedb.com
  Subject: Re: XAResource implementation
  In-Reply-To: <1195318874.5559.50.camel@hatman>
  References: <1193736934.5565.40.camel@hatman> <4727420A.4060209@enterprisedb.com> <1193757567.5565.46.camel@hatman> <47275A50.2050201@enterprisedb.com> <47275BA6.3030200@enterprisedb.com> <1194819933.5545.100.camel@hatman> <47382418.604@enterprisedb.com> <1194939010.5505.24.camel@hatman> <4739D5FB.9080202@enterprisedb.com> <Pine.BSO.4.64.0711131301130.21066@leary.csoft.net> <473A2AB3.2040701@enterprisedb.com> <Pine.BSO.4.64.0711140423050.12400@leary.csoft.net> <1195318874.5559.50.camel@hatman>

* 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