Re: [GENERAL] Incorrect response code after XA recovery - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: [GENERAL] Incorrect response code after XA recovery
Date
Msg-id 20130730161727.GP14652@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: [GENERAL] Incorrect response code after XA recovery  (Tom Jenkinson <tom.jenkinson@redhat.com>)
List pgsql-bugs
Tom Jenkinson escribió:
> Hi Alban,
>
> I stripped down the code to a raw XA example using the latest
> postgres driver available in maven central. It demonstrates that
> regardless of what the codebase might suggest, it is certainly the
> case that postgres is returning XAER_RMERR in the scenario where the
> resource manager no longer knows about the Xid.
>
> The code is available here:
> https://github.com/tomjenkinson/xa-recovery/commit/944d45e86a91eacb9489843acfbf6a80f1b4b820

Those error codes do certainly appear in the PGXAConnection.java source
in the pgjdbc git.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-bugs by date:

Previous
From: arun.rh@gmail.com
Date:
Subject: BUG #8345: PostGre SQL database is crashing
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #8345: PostGre SQL database is crashing