Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBNwk-0008NU-FX for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2013 11:48:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VBNwj-0003hA-UX for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2013 11:48:29 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBNwi-0003fp-Nc for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 11:48:28 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBNwg-0004gk-5i for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 11:48:28 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 04F6F280DC; Mon, 19 Aug 2013 04:48:25 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 004DFB049F; Mon, 19 Aug 2013 04:48:25 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 7E4A0C005E; Mon, 19 Aug 2013 04:48:30 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Mon, 19 Aug 2013 04:48:28 -0700 (PDT) Message-ID: <52120605.4090104@vmware.com> Date: Mon, 19 Aug 2013 14:48:21 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Jeremy Whiting CC: Tom Lane , Tom Jenkinson , Ondrej Chaloupka , pgsql-bugs@postgresql.org, Pavel Raiskup Subject: Re: [JDBC] Incorrect response code after XA recovery References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com> <25825.1375105824@sss.pgh.pa.us> <51F679F6.4080504@redhat.com> <26246.1375109172@sss.pgh.pa.us> <51F682DF.9020806@redhat.com> <26470.1375110681@sss.pgh.pa.us> <51F8F6D3.30500@redhat.com> <51FFBD79.1060107@redhat.com> In-Reply-To: <51FFBD79.1060107@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.8 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 05.08.2013 17:58, Jeremy Whiting wrote: > Hello Tom, > A quick update on progress. A second PR was created to provide a patch. > > https://github.com/pgjdbc/pgjdbc/pull/76 Thanks. Looks good to me. I wish the backend would throw a more specific error code for this, 42704 is used for many other errors as well. But at COMMIT/ROLLBACK PREPARED, it's probably safe to assume that it means that the transaction does not exist. - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs