pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: teknokrat <teknokrat@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: making the XARessource serializable
Date: Mon, 17 Sep 2007 11:18:42 +0100
Message-ID: <46EE5482.9060603@enterprisedb.com> (raw)
In-Reply-To: <fclh8h$q9e$1@sea.gmane.org>
References: <fclh8h$q9e$1@sea.gmane.org>

teknokrat wrote:
> Is there any reason that the postgresql implementation of XAResource is
> not serializable? We are having issues with XARecovery in Arjuna because
> of this. What is required to make PGXAConnection serializable?

PGXAConnection represents a physical connection to the database, so you
certainly can't make that Serializable.

What kind of issues are you having in Arjuna? It can't depend on
serialization of XAResources; there's nothing in the spec saying an
XAResource implementation needs to be serializable, and a quick look at
other DBMS XAResource implementations suggests that they generally aren't.

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com



view thread (5+ messages)  latest in thread

Message-ID: <46EE5482.9060603@enterprisedb.com>
Permalink:  ../46EE5482.9060603@enterprisedb.com/
Also on:    postgresql.org/message-id/46EE5482.9060603@enterprisedb.com

 · 

reply

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@enterprisedb.com, teknokrat@yahoo.com
  Subject: Re: making the XARessource serializable
  In-Reply-To: <46EE5482.9060603@enterprisedb.com>
  References: <fclh8h$q9e$1@sea.gmane.org> <46EE5482.9060603@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