Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V3oiH-0002Wv-Bk for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jul 2013 14:46:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V3oiG-0007tp-S5 for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jul 2013 14:46:16 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V3oiF-0007tf-NI; Mon, 29 Jul 2013 14:46:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V3oiD-0007E9-9R; Mon, 29 Jul 2013 14:46:15 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r6TEkCfU026247; Mon, 29 Jul 2013 10:46:12 -0400 (EDT) From: Tom Lane To: Tom Jenkinson cc: Ondrej Chaloupka , pgsql-general@postgresql.org, pgsql-bugs@postgresql.org, Pavel Raiskup Subject: Re: Incorrect response code after XA recovery In-reply-to: <51F679F6.4080504@redhat.com> References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com> <25825.1375105824@sss.pgh.pa.us> <51F679F6.4080504@redhat.com> Comments: In-reply-to Tom Jenkinson message dated "Mon, 29 Jul 2013 15:19:34 +0100" Date: Mon, 29 Jul 2013 10:46:12 -0400 Message-ID: <26246.1375109172@sss.pgh.pa.us> X-Pg-Spam-Score: -0.7 (/) 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 Tom Jenkinson writes: > A little bit of information in the linked bugzilla report is that the > exception being returned has an XA error code of XAER_RMERR "An error > occurred in rolling back the transaction branch. The resource manager is > free to forget about the branch when returning this error so long as all > accessing threads of control have been notified of the branch’s state." > That does not sound right to me, wouldn't XAER_NOTA "The specified XID > is not known by the resource manager" be more accurate? No idea, but in any case that's outside Postgres' purview. It's barely possible that the Postgres JDBC driver has something to do with that, but it sounds more like the XA manager's turf. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs