pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres and XA support problem.
2+ messages / 2 participants
[nested] [flat]

* Postgres and XA support problem.
@ 2010-06-09 07:54 Michal Szymanski <mich20061@gmail.com>
  2010-06-09 08:56 ` Re: Postgres and XA support problem. Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Michal Szymanski @ 2010-06-09 07:54 UTC (permalink / raw)
  To: pgsql-jdbc

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 ?

Michal Szymanski
http://blog.szymanskich.net
http://techblog.szymanskich.net



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Postgres and XA support problem.
  2010-06-09 07:54 Postgres and XA support problem. Michal Szymanski <mich20061@gmail.com>
@ 2010-06-09 08:56 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2010-06-09 08:56 UTC (permalink / raw)
  To: Michal Szymanski <mich20061@gmail.com>; +Cc: pgsql-jdbc

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-06-09 08:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-09 07:54 Postgres and XA support problem. Michal Szymanski <mich20061@gmail.com>
2010-06-09 08:56 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

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