Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 81F209F9BC8 for ; Mon, 17 Sep 2007 07:19:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 18624-08 for ; Mon, 17 Sep 2007 07:19:46 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 626EA9F9BAD for ; Mon, 17 Sep 2007 07:19:55 -0300 (ADT) thread-index: Acf5FFMX3Dk7won7S0ae3g0tMkgi9A== Received: from [172.24.32.135] ([62.232.55.118]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Sep 2007 06:20:08 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Message-ID: <46EE5482.9060603@enterprisedb.com> Date: Mon, 17 Sep 2007 11:18:42 +0100 From: "Heikki Linnakangas" User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: "teknokrat" Cc: Subject: Re: making the XARessource serializable References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Sep 2007 10:20:08.0765 (UTC) FILETIME=[52D436D0:01C7F914] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/81 X-Sequence-Number: 17503 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