Обсуждение: Add XATMI C API

Поиск
Список
Период
Сортировка

Add XATMI C API

От
Juergen Weber
Дата:
Hi,

an XATMI C API should be added to the PostgresQL C client, so one could run
XA transactions under control of a TX monitor. An interesting usecase would
be to use PostgresQL together with the LGPL open source JBoss Blacktie
transaction manager (http://www.jboss.org/blacktie.html)

c.f.
http://archives.postgresql.org/pgsql-bugs/2010-01/msg00236.php

Thanks,
Juergen

Re: Add XATMI C API

От
Oliver Jowett
Дата:
Juergen Weber wrote:
> Hi,
>
> an XATMI C API should be added to the PostgresQL C client, so one could run
> XA transactions under control of a TX monitor. An interesting usecase would
> be to use PostgresQL together with the LGPL open source JBoss Blacktie
> transaction manager (http://www.jboss.org/blacktie.html)
>
> c.f.
> http://archives.postgresql.org/pgsql-bugs/2010-01/msg00236.php

I don't know why you were referred to the JDBC list, but the JDBC driver
does not use the C client libraries at all. The driver does have a
distributed transaction interface, but it's pure Java and uses the Java
XA interfaces.

-O


Re: Add XATMI C API

От
Craig Ringer
Дата:
Oliver Jowett wrote:
> Juergen Weber wrote:
>> Hi,
>>
>> an XATMI C API should be added to the PostgresQL C client, so one
>> could run
>> XA transactions under control of a TX monitor. An interesting usecase
>> would
>> be to use PostgresQL together with the LGPL open source JBoss Blacktie
>> transaction manager (http://www.jboss.org/blacktie.html)
>>
>> c.f.
>> http://archives.postgresql.org/pgsql-bugs/2010-01/msg00236.php
>
> I don't know why you were referred to the JDBC list


My fault, I'm afraid. I missed the reference to a _C_ transaction
manager API. My bad. pgsql-general would've made more sense.

Sorry about that Oliver.

--
Craig Ringer