From: chalda <ochaloup@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] e5aab1: Adjust XAException return codes for better compati...
Date: Sun, 11 Mar 2018 00:40:21 -0800
Message-ID: <5aa4eb7554cf8_8fd2b0da0511c14433f1@hookshot-fe-31feec6.cp1-iad.github.net.mail> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: e5aab1cd3e49051f46298d8f1fd9f66af1731299
https://github.com/pgjdbc/pgjdbc/commit/e5aab1cd3e49051f46298d8f1fd9f66af1731299
Author: chalda <ochaloup@redhat.com>
Date: 2018-03-11 (Sun, 11 Mar 2018)
Changed paths:
M .gitignore
M CHANGELOG.md
M pgjdbc/src/main/java/org/postgresql/translation/bg.po
M pgjdbc/src/main/java/org/postgresql/translation/cs.po
M pgjdbc/src/main/java/org/postgresql/translation/de.po
M pgjdbc/src/main/java/org/postgresql/translation/es.po
M pgjdbc/src/main/java/org/postgresql/translation/fr.po
M pgjdbc/src/main/java/org/postgresql/translation/it.po
M pgjdbc/src/main/java/org/postgresql/translation/ja.po
M pgjdbc/src/main/java/org/postgresql/translation/messages.pot
M pgjdbc/src/main/java/org/postgresql/translation/nl.po
M pgjdbc/src/main/java/org/postgresql/translation/pl.po
M pgjdbc/src/main/java/org/postgresql/translation/pt_BR.po
M pgjdbc/src/main/java/org/postgresql/translation/ru.po
M pgjdbc/src/main/java/org/postgresql/translation/sr.po
M pgjdbc/src/main/java/org/postgresql/translation/tr.po
M pgjdbc/src/main/java/org/postgresql/translation/zh_CN.po
M pgjdbc/src/main/java/org/postgresql/translation/zh_TW.po
M pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
M pgjdbc/src/main/java/org/postgresql/xa/PGXAConnection.java
M pgjdbc/src/main/resources/org/postgresql/translation/messages_bg.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_cs.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_de.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_es.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_fr.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_it.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_ja.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_nl.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_pl.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_pt_BR.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_ru.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_sr.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_tr.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_zh_CN.class
M pgjdbc/src/main/resources/org/postgresql/translation/messages_zh_TW.class
M pgjdbc/src/test/java/org/postgresql/test/xa/XADataSourceTest.java
Log Message:
-----------
Adjust XAException return codes for better compatibility with XA specification (#782)
There are three main adjustments
* XAException.XAER_RMFAIL is used when some connection error happens
and it is expected that reconnection of RM could occur
* XAException.XAER_NOTA is used when RM does not know anything about the
provided Xid
* XAException.XAER_PROTO is used when some wrong sequence of method
calls is invoked
Fixes #236, #510, #683
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-jdbc@postgresql.org
Cc: ochaloup@redhat.com
Subject: Re: [pgjdbc/pgjdbc] e5aab1: Adjust XAException return codes for better compati...
In-Reply-To: <5aa4eb7554cf8_8fd2b0da0511c14433f1@hookshot-fe-31feec6.cp1-iad.github.net.mail>
References: <5aa4eb7554cf8_8fd2b0da0511c14433f1@hookshot-fe-31feec6.cp1-iad.github.net.mail>
* 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