Re: PostgreSQL and XA Distributed Transaction Protocol - Mailing list pgsql-general

From Albe Laurenz
Subject Re: PostgreSQL and XA Distributed Transaction Protocol
Date
Msg-id D960CB61B694CF459DCFB4B0128514C202FF6633@exadv11.host.magwien.gv.at
Whole thread Raw
In response to PostgreSQL and XA Distributed Transaction Protocol  (Christian Ferrari <camauz@yahoo.com>)
List 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

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Server admin for Clients ?
Next
From: Jordi Martínez
Date:
Subject: PL/PGSQL