pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ondrej Chaloupka <ochaloup@redhat.com>
To: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Incorrect return code for error on call of commit during 2PC
Date: Mon, 8 Dec 2014 06:26:46 -0500 (EST)
Message-ID: <465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <795083152.22867806.1418037905715.JavaMail.zimbra@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,

it seems that PostgreSQL jdbc driver returns incorrect code during on call of commit during 2PC. Currently the driver returns XAER_RMERR.
I expect that it's this call
https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/xa/PGXAConnection.java#L528

But the XA spec says for XAER_RMERR that


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com>
Permalink:  ../465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com/
Also on:    postgresql.org/message-id/465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ochaloup@redhat.com
  Subject: Re: Incorrect return code for error on call of commit during 2PC
  In-Reply-To: <465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com>
  References: <795083152.22867806.1418037905715.JavaMail.zimbra@redhat.com> <465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox