Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XxzsO-0005gZ-AP for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Dec 2014 15:05:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XxzsM-0006Eg-VL for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Dec 2014 15:05:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XxzsM-0006EZ-1u for pgsql-bugs@postgresql.org; Mon, 08 Dec 2014 15:05:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XxzsI-0000AH-JH for pgsql-bugs@postgresql.org; Mon, 08 Dec 2014 15:05:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sB8F5KMt024941; Mon, 8 Dec 2014 10:05:20 -0500 From: Tom Lane To: Ondrej Chaloupka cc: pgsql-bugs Subject: Re: Incorrect return code for error on call of commit during 2PC In-reply-to: <1259946913.22869617.1418038388941.JavaMail.zimbra@redhat.com> References: <1259946913.22869617.1418038388941.JavaMail.zimbra@redhat.com> Comments: In-reply-to Ondrej Chaloupka message dated "Mon, 08 Dec 2014 06:33:08 -0500" Date: Mon, 08 Dec 2014 10:05:20 -0500 Message-ID: <24940.1418051120@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Ondrej Chaloupka writes: > it seems that PostgreSQL jdbc driver returns incorrect code during on call of commit during 2PC. Currently the driver returns XAER_RMERR. This list is mainly for reporting bugs in the core Postgres software, so I'm not sure how closely the JDBC developers follow it. You might have better luck inquiring about this issue in the pgsql-jdbc list. 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