View Single Post

   
  #2 (permalink)  
Old 04-16-2008, 01:54 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: making the XARessource serializable

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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote