X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B38A652A22 for ; Thu, 21 Jul 2005 23:06:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20226-02 for ; Fri, 22 Jul 2005 02:06:42 +0000 (GMT) Received: from mail102.csoft.net (lilly.csoft.net [63.111.22.101]) by svr1.postgresql.org (Postfix) with SMTP id 9CDB45285A for ; Thu, 21 Jul 2005 23:06:40 -0300 (ADT) Received: (qmail 84456 invoked by uid 3922); 22 Jul 2005 02:06:45 -0000 Date: Thu, 21 Jul 2005 22:06:45 -0400 (EDT) From: Michael Allman To: Oliver Jowett Cc: Heikki Linnakangas , pgsql-jdbc@postgresql.org Subject: Re: jdbc xa support In-Reply-To: <42E053B0.8080807@opencloud.com> Message-ID: <20050721220519.U75792@yvyyl> References: <20050719193245.D20902@yvyyl> <20050720211921.V54984@yvyyl> <20050721203342.W75792@yvyyl> <42E053B0.8080807@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/235 X-Sequence-Number: 13383 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