Re: OID Bug in AbstractJdbc2DatabaseMetaData.java - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: OID Bug in AbstractJdbc2DatabaseMetaData.java
Date
Msg-id Pine.BSO.4.64.0712020148490.29476@leary.csoft.net
Whole thread Raw
In response to OID Bug in AbstractJdbc2DatabaseMetaData.java  (Q <qdolan@gmail.com>)
List 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

pgsql-jdbc by date:

Previous
From: Marek Lewczuk
Date:
Subject: Re: AbstractJdbc2Array - another patch
Next
From: Roy Smith
Date:
Subject: Re: "create type" custom types not supported by JDBC