Re: PostgreSQL and XA Distributed Transaction Protocol

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Christian Ferrari *EXTERN*" <camauz(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL and XA Distributed Transaction Protocol
Date: 2009-06-08 09:42:59
Message-ID: D960CB61B694CF459DCFB4B0128514C202FF6633@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Ferrari wrote:
> I'm developing a new, free, XA compliant transaction manager.
> One of the first resource manager I would be glad to support
> is PostgreSQL; after some googling I have found no
> information related to PostgreSQL and XA protocol support.
> Can anyone give me more information related to this matter?

To the best of my knowledge, the only XA interface in PostgreSQL
is SQL.

A session participating in a distributed transaction would
issue "PREPARE TRANSACTION <name>", and the transaction manager
can "COMMIT PREPARED <name>" or "ROLLBACK PREPARED <name>".

The currently active prepared transactions cann be seen in
the pg_prepared_xacts system catalog.

That should be good enough to implement a transaction manager,
right?

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-06-08 09:59:06 Re: invalid byte sequence for encoding "UTF8": 0xab
Previous Message Jordi Martínez 2009-06-08 09:30:17 PL/PGSQL