pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Jeremy Whiting <jwhiting@redhat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tom Jenkinson <tom.jenkinson@redhat.com>
Cc: Ondrej Chaloupka <ochaloup@redhat.com>
Cc: pgsql-bugs@postgresql.org, Pavel Raiskup <praiskup@redhat.com>
Subject: Re: [JDBC] Incorrect response code after XA recovery
Date: Mon, 19 Aug 2013 14:48:21 +0300
Message-ID: <52120605.4090104@vmware.com> (raw)
In-Reply-To: <51FFBD79.1060107@redhat.com>
References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com>
	<25825.1375105824@sss.pgh.pa.us>
	<51F679F6.4080504@redhat.com>
	<26246.1375109172@sss.pgh.pa.us>
	<51F682DF.9020806@redhat.com>
	<26470.1375110681@sss.pgh.pa.us>
	<51F8F6D3.30500@redhat.com>
	<51FFBD79.1060107@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (13+ messages)

Message-ID: <52120605.4090104@vmware.com>
Permalink:  ../52120605.4090104@vmware.com/
Also on:    postgresql.org/message-id/52120605.4090104@vmware.com

 · 

reply

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: hlinnakangas@vmware.com, jwhiting@redhat.com, tgl@sss.pgh.pa.us, tom.jenkinson@redhat.com, ochaloup@redhat.com, praiskup@redhat.com
  Subject: Re: [JDBC] Incorrect response code after XA recovery
  In-Reply-To: <52120605.4090104@vmware.com>
  References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com> <25825.1375105824@sss.pgh.pa.us> <51F679F6.4080504@redhat.com> <26246.1375109172@sss.pgh.pa.us> <51F682DF.9020806@redhat.com> <26470.1375110681@sss.pgh.pa.us> <51F8F6D3.30500@redhat.com> <51FFBD79.1060107@redhat.com> <52120605.4090104@vmware.com>

* 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