Re: [JDBC] [BUGS] Incorrect response code after XA recovery

2013-08-19 Thread Heikki Linnakangas
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 er

Re: [JDBC] [BUGS] Incorrect response code after XA recovery

2013-08-05 Thread Jeremy Whiting
Hello Tom, A quick update on progress. A second PR was created to provide a patch. https://github.com/pgjdbc/pgjdbc/pull/76 Regards, Jeremy On 31/07/13 12:36, Jeremy Whiting wrote: Hi Tom, The driver currently doesn't report back to the calling client (tm) XAException.XAER_NOTA code as Ondr

Re: [JDBC] [BUGS] Incorrect response code after XA recovery

2013-07-31 Thread Jeremy Whiting
Hi Tom, The driver currently doesn't report back to the calling client (tm) XAException.XAER_NOTA code as Ondrej and Tom Jenkinson have identified. Instead it returns XAException.XAER_RMERR. See line 416 https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/xa/PGXAConnection.java#416 whic