Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 52A081337BEA for ; Thu, 21 Apr 2011 15:54:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 17285-03 for ; Thu, 21 Apr 2011 18:53:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by mail.postgresql.org (Postfix) with ESMTP id E7AB81337B82 for ; Thu, 21 Apr 2011 15:53:54 -0300 (ADT) Received: from mail-ey0-f169.google.com ([209.85.215.169]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKTbB9QaEl++Ajkfmtp+jwnSihBiyu3wMS@postini.com; Thu, 21 Apr 2011 11:53:55 PDT Received: by eyd9 with SMTP id 9so8887eyd.14 for ; Thu, 21 Apr 2011 11:53:52 -0700 (PDT) Received: by 10.213.109.85 with SMTP id i21mr831388ebp.39.1303412030989; Thu, 21 Apr 2011 11:53:50 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id k51sm1531715eei.17.2011.04.21.11.53.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 11:53:49 -0700 (PDT) Message-ID: <4DB07D3B.2010504@enterprisedb.com> Date: Thu, 21 Apr 2011 21:53:47 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: Michael Musgrove CC: Tom Lane , pgsql-bugs@postgresql.org Subject: Re: BUG #5297: Add XATMI C API References: <4DB04E1D.6000301@redhat.com> <24817.1303404224@sss.pgh.pa.us> <4DB063AB.1040800@redhat.com> In-Reply-To: <4DB063AB.1040800@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/177 X-Sequence-Number: 30096 On 21.04.2011 20:04, Michael Musgrove wrote: > I am referring to the X/Open specification Distributed Transaction > Processing: The XA Specification > (pubs.opengroup.org/onlinepubs/009680699/toc.pdf). If postgresql > provides a conforming Resource Manager switch then we can include > postgresql work along with interactions with other Resource Managers > (Oracle, DB2) in the same transaction. For example the equivalent > support in Oracle that I am asking for is documented at > http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adga1_xa.htm When I wrote the patch for the backend support, I was not able to find any open source implementations of X/Open XA-compatible resource managers or transaction managers, which makes it kind of hard to implement the API correctly. There was plenty of JDBC XA implementations, however, so I used that for testing. If you can find something to test it with, it probably wouldn't be that hard to write the library. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com