Incorrect return code for error on call of commit during 2PC - Mailing list pgsql-bugs

From Ondrej Chaloupka
Subject Incorrect return code for error on call of commit during 2PC
Date
Msg-id 465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com
Whole thread Raw
List pgsql-bugs
Hi,

it seems that PostgreSQL jdbc driver returns incorrect code during on call of commit during 2PC. Currently the driver
returnsXAER_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

pgsql-bugs by date:

Previous
From: Ronan Dunklau
Date:
Subject: Dumping database creation options and ACLs
Next
From: Ondrej Chaloupka
Date:
Subject: Incorrect return code for error on call of commit during 2PC