Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B07581337B83 for ; Thu, 21 Apr 2011 13:43:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 98913-04 for ; Thu, 21 Apr 2011 16:43:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 11BD11337B93 for ; Thu, 21 Apr 2011 13:43:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3LGhi9J024818; Thu, 21 Apr 2011 12:43:44 -0400 (EDT) To: Michael Musgrove cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5297: Add XATMI C API In-reply-to: <4DB04E1D.6000301@redhat.com> References: <4DB04E1D.6000301@redhat.com> Comments: In-reply-to Michael Musgrove message dated "Thu, 21 Apr 2011 16:32:45 +0100" Date: Thu, 21 Apr 2011 12:43:44 -0400 Message-ID: <24817.1303404224@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/175 X-Sequence-Number: 30094 Michael Musgrove writes: > The response to this issue says it is "Not a bug". Would it be possible > for someone to provide an indication of how much effort is involved in > providing XA support in the C API library (libpq)? What do you consider to be "providing XA support"? XA requires there to be a transaction manager somewhere, which is not something libpq can provide since it's dependent on the good graces of its host application. Maybe there would be some value in teaching libpq to interact with an external XA manager, but what exactly do you think is required? regards, tom lane