From: Michael Musgrove <mmusgrov@redhat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5297: Add XATMI C API
Date: Thu, 21 Apr 2011 18:04:43 +0100
Message-ID: <4DB063AB.1040800@redhat.com> (raw)
In-Reply-To: <24817.1303404224@sss.pgh.pa.us>
References: <4DB04E1D.6000301@redhat.com>
<24817.1303404224@sss.pgh.pa.us>
On 04/21/2011 05:43 PM, Tom Lane wrote:
> Michael Musgrove<mmusgrov@redhat.com> 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
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
Thanks,
Mike
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-bugs@postgresql.org
Cc: mmusgrov@redhat.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #5297: Add XATMI C API
In-Reply-To: <4DB063AB.1040800@redhat.com>
References: <4DB04E1D.6000301@redhat.com> <24817.1303404224@sss.pgh.pa.us> <4DB063AB.1040800@redhat.com>
* 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