From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Michal Szymanski <mich20061@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Postgres and XA support problem.
Date: Wed, 09 Jun 2010 11:56:03 +0300
Message-ID: <4C0F5723.7040208@enterprisedb.com> (raw)
In-Reply-To: <0d312389-b556-4f83-866b-005981b4eed8@j8g2000yqd.googlegroups.com>
References: <0d312389-b556-4f83-866b-005981b4eed8@j8g2000yqd.googlegroups.com>
On 09/06/10 10:54, Michal Szymanski wrote:
> Hi,
> We are trying to find TransactionManager for our project and on our
> short list is Atomikos (http://www.atomikos.com) but during reading
> 'Known problem' section we have found:
>
> 'PostgreSQL XA support is limited in what it can do; using Postgresql
> is not recommended and not supported. If you do choose to use it, see
> this forum post for some of the problems' and it was link to this
> http://fogbugz.atomikos.com/default.asp?community.6.1503.6
>
> Is it a real bug or lack of Postgres functinality ?
I'd call it a lack of functionality. PostgreSQL doesn't support calling
PREPARE TRANSACTION from a different connection than BEGIN. The JTA spec
requires that functionality, but it's a pretty common limitation in
DBMSs because it doesn't fit well with the one transaction per
connection architecture that most DBMSs have. So in practice all
transaction managers have an option to work around that, according to
the forum post it's called "com.atomikos.icatch.threaded_2pc" in Atomikos.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
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-jdbc@postgresql.org
Cc: heikki.linnakangas@enterprisedb.com, mich20061@gmail.com
Subject: Re: Postgres and XA support problem.
In-Reply-To: <4C0F5723.7040208@enterprisedb.com>
References: <0d312389-b556-4f83-866b-005981b4eed8@j8g2000yqd.googlegroups.com> <4C0F5723.7040208@enterprisedb.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