pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Danny Schueler <danny.schueler@bvv.bayern.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc integer value oid to big!
Date: Mon, 05 Mar 2007 16:38:51 +0000
Message-ID: <45EC479B.3030208@enterprisedb.com> (raw)
In-Reply-To: <200703051644.26759.danny.schueler@bvv.bayern.de>
References: <200703051644.26759.danny.schueler@bvv.bayern.de>

Danny Schueler wrote:
> in short: The software detects the db-oids, determies the type of the values with the
> TypeInfoCache and gets Integer. The following attemt, to get the variable in it's original type,
> fails and results in an error!
> The database can handle integer values with max. values until 2^32 as oid (unsigned),
> the jdbc can handle only 2^31 (signed).
> 
> What can i do, to fix this Problem?

That was fixed in CVS head few weeks ago. If you need the fix 
immediately, you can checkout the latest CVS version and build the 
driver yourself.

I think we should backpatch the fix...

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (3+ messages)  latest in thread

Message-ID: <45EC479B.3030208@enterprisedb.com>
Permalink:  ../45EC479B.3030208@enterprisedb.com/
Also on:    postgresql.org/message-id/45EC479B.3030208@enterprisedb.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: heikki@enterprisedb.com, danny.schueler@bvv.bayern.de
  Subject: Re: jdbc integer value oid to big!
  In-Reply-To: <45EC479B.3030208@enterprisedb.com>
  References: <200703051644.26759.danny.schueler@bvv.bayern.de> <45EC479B.3030208@enterprisedb.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