Incorrect return code for error on call of commit during 2PC

Поиск
Список
Период
Сортировка
Искать
От
Ondrej Chaloupka
Тема
Incorrect return code for error on call of commit during 2PC
Дата
Msg-id
465999501.22868325.1418038006701.JavaMail.zimbra@redhat.com
Список
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
В списке pgsql-bugs по дате отправления
От: Ronan Dunklau
Дата:
От: Ondrej Chaloupka
Дата:
FAQ