From: Kris Jurka <books@ejurka.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pg@fastcrypt.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: XADataSource interface
Date: Mon, 31 Oct 2005 00:54:49 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0510310051370.12070@leary.csoft.net> (raw)
In-Reply-To: <Pine.OSF.4.61.0510302111470.179385@kosh.hut.fi>
References: <Pine.OSF.4.61.0510251957390.145307@kosh.hut.fi>
<Pine.BSO.4.61.0510291322220.5976@leary.csoft.net>
<Pine.OSF.4.61.0510302111470.179385@kosh.hut.fi>
On Sun, 30 Oct 2005, Heikki Linnakangas wrote:
> The failures at testRecover and testRollback were because
> PGXAConnection.rollback method called Xid.equals with null argument.
> I added a null-check for that, see attached patch.
Applied. I'll put out a new dev release with the xa patches later
tonight. Can you clarify what does/doesn't work in xa for the docs?
> I didn't understand this part of your patch:
>
Well, that's why I emailed you guys. I was initially thinking that the
currentXid shouldn't be disassociated from the xaconnection until a new
transaction was actually started and it could simply commit/rollback the
underlying connection if a new one wasn't started. I see that's not the
case now.
Kris Jurka
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: books@ejurka.com, hlinnaka@iki.fi, pg@fastcrypt.com
Subject: Re: XADataSource interface
In-Reply-To: <Pine.BSO.4.61.0510310051370.12070@leary.csoft.net>
References: <Pine.OSF.4.61.0510251957390.145307@kosh.hut.fi> <Pine.BSO.4.61.0510291322220.5976@leary.csoft.net> <Pine.OSF.4.61.0510302111470.179385@kosh.hut.fi> <Pine.BSO.4.61.0510310051370.12070@leary.csoft.net>
* 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