Re: OID Bug in AbstractJdbc2DatabaseMetaData.java

From: Kris Jurka <books(at)ejurka(dot)com>
To: Q <qdolan(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: OID Bug in AbstractJdbc2DatabaseMetaData.java
Date: 2007-12-02 06:51:05
Message-ID: Pine.BSO.4.64.0712020148490.29476@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 7 May 2007, Q wrote:

> I recently ran into an issue upgrading from the 8.1 JDBC driver where the
> more recent drivers would throw an exception when retrieving meta data if
> there were any relations with very large OID's. (exceeding 2^31).
>
> The following patch "resolved" things enough to avoid the issue.
>
> [Retrieve as long and cast to int.]

Based on this I've put a fix into CVS for all the places that retrieve
oids as integers, so we can work on databases that have high OIDs.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Roy Smith 2007-12-02 09:24:44 Re: "create type" custom types not supported by JDBC
Previous Message Marek Lewczuk 2007-12-01 19:01:35 Re: AbstractJdbc2Array - another patch