Re: [JDBC] Incorrect response code after XA recovery

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Jeremy Whiting <jwhiting(at)redhat(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tom Jenkinson <tom(dot)jenkinson(at)redhat(dot)com>, Ondrej Chaloupka <ochaloup(at)redhat(dot)com>, pgsql-bugs(at)postgresql(dot)org, Pavel Raiskup <praiskup(at)redhat(dot)com>
Subject: Re: [JDBC] Incorrect response code after XA recovery
Date: 2013-08-19 11:48:21
Message-ID: 52120605.4090104@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-jdbc

On 05.08.2013 17:58, Jeremy Whiting wrote:
> Hello Tom,
> A quick update on progress. A second PR was created to provide a patch.
>
> https://github.com/pgjdbc/pgjdbc/pull/76

Thanks. Looks good to me.

I wish the backend would throw a more specific error code for this,
42704 is used for many other errors as well. But at COMMIT/ROLLBACK
PREPARED, it's probably safe to assume that it means that the
transaction does not exist.

- Heikki

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sandeep Thakkar 2013-08-19 12:55:47 Re: BUG #8384: Missing dll
Previous Message NITISHSAURABH 2013-08-19 10:33:32 BUG #8387: Error while make of the source code

Browse pgsql-general by date

  From Date Subject
Next Message Robert Sosinski 2013-08-19 15:06:47 Re: Memory Issue with array_agg?
Previous Message Giuseppe Broccolo 2013-08-19 10:18:53 Re: Query on a record variable

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2013-08-19 12:00:51 Re: buildSite.sh
Previous Message dmp 2013-08-19 01:45:18 buildSite.sh