Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 0C28F632B6D for ; Wed, 27 Jan 2010 18:21:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 89601-07 for ; Wed, 27 Jan 2010 22:21:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 1C05763310E for ; Wed, 27 Jan 2010 18:21:30 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.4]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NaGGK-0008RH-9b; Thu, 28 Jan 2010 11:21:24 +1300 Message-ID: <4B60BC5E.90905@opencloud.com> Date: Thu, 28 Jan 2010 11:21:18 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Juergen Weber CC: pgsql-jdbc@postgresql.org Subject: Re: Add XATMI C API References: <1964cfb61001271038h520ced24qd32919bc4f374d79@mail.gmail.com> In-Reply-To: <1964cfb61001271038h520ced24qd32919bc4f374d79@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201001/72 X-Sequence-Number: 20268 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