pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: otran <otran@switchfly.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
Date: Mon, 12 Mar 2012 20:39:20 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1203122035430.1378@leary.csoft.net> (raw)
In-Reply-To: <1331328320772-5551763.post@n5.nabble.com>
References: <1331328320772-5551763.post@n5.nabble.com>



On Fri, 9 Mar 2012, otran wrote:

> We are in the process of upgrading from Postgres JDBC 8.4 to 9.1-901-1.jdbc4
> and discovered that CacheRowSet now call the methods isAutoIncrement() and
> fetchFieldMetaData(), which will fail converting a OID to an int.
> 

I have pushed a fix for this to git for 9.1 and master.  Thanks for the 
report.

I've found another problem with master for binary transfer setup with high 
OIDs.  If people want to test this situation and don't have a high 
oid use database handy, you can set the oid counter to an arbitrary 
value with pg_resetxlog.


Kris Jurka



view thread (7+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1203122035430.1378@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1203122035430.1378@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1203122035430.1378@leary.csoft.net

 · 

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: books@ejurka.com, otran@switchfly.com
  Subject: Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
  In-Reply-To: <alpine.BSO.2.00.1203122035430.1378@leary.csoft.net>
  References: <1331328320772-5551763.post@n5.nabble.com> <alpine.BSO.2.00.1203122035430.1378@leary.csoft.net>

* 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