pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Allman <msa@allman.ms>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc xa support
Date: Thu, 21 Jul 2005 22:06:45 -0400 (EDT)
Message-ID: <20050721220519.U75792@yvyyl> (raw)
In-Reply-To: <42E053B0.8080807@opencloud.com>
References: <20050719193245.D20902@yvyyl>
	<E3F1D1B7-B41C-40C4-9621-60F96363A032@fastcrypt.com>
	<Pine.OSF.4.61.0507201916300.205200@kosh.hut.fi>
	<20050720211921.V54984@yvyyl>
	<Pine.OSF.4.61.0507212140250.34894@kosh.hut.fi>
	<20050721203342.W75792@yvyyl>
	<42E053B0.8080807@opencloud.com>

On Fri, 22 Jul 2005, Oliver Jowett wrote:

> Michael Allman wrote:
>
>>> 4. recover is broken because it ignores the flags argument. That's
>>> going to cause an endless loop in the transaction manager when it
>>> tries to recover. See this discussion:
>>> http://forum.java.sun.com/thread.jspa?threadID=475468&messageID=2232566
>>
>>
>> That is problematic.  The API for recovery is stateful, and, IMHO,
>> poorly designed.  If you look at the original DTP XA spec you'll see it
>> makes much more sense.
>
> Huh? TMSTARTRSCAN etc are in the original DTP XA spec too, assuming you
> mean this one:
>
> X/Open CAE Specification
> Distributed Transaction Processing: The XA Specification
> ISBN: 1 872630 24 3
> X/Open Document Number: XO/CAE/91/300

Yes, and if you look at the specification for the xa_recover() function 47 
you see it's a lot different from its Java counterpart.

Michael



view thread (27+ messages)  latest in thread

Message-ID: <20050721220519.U75792@yvyyl>
Permalink:  ../20050721220519.U75792@yvyyl/
Also on:    postgresql.org/message-id/20050721220519.U75792@yvyyl

 · 

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: msa@allman.ms, oliver@opencloud.com, hlinnaka@iki.fi
  Subject: Re: jdbc xa support
  In-Reply-To: <20050721220519.U75792@yvyyl>
  References: <20050719193245.D20902@yvyyl> <E3F1D1B7-B41C-40C4-9621-60F96363A032@fastcrypt.com> <Pine.OSF.4.61.0507201916300.205200@kosh.hut.fi> <20050720211921.V54984@yvyyl> <Pine.OSF.4.61.0507212140250.34894@kosh.hut.fi> <20050721203342.W75792@yvyyl> <42E053B0.8080807@opencloud.com> <20050721220519.U75792@yvyyl>

* 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