Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 51EC62E0144 for ; Sun, 2 Dec 2007 02:51:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 13129-05 for ; Sun, 2 Dec 2007 02:51:13 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 52DD62E3ACC for ; Sun, 2 Dec 2007 02:51:15 -0400 (AST) Received: (qmail 17869 invoked by uid 1112); 2 Dec 2007 06:51:05 -0000 Date: Sun, 2 Dec 2007 01:51:05 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Q cc: pgsql-jdbc@postgresql.org Subject: Re: OID Bug in AbstractJdbc2DatabaseMetaData.java In-Reply-To: <2AC0EF77-E032-4459-A980-DF9E630EF6E1@gmail.com> Message-ID: References: <2AC0EF77-E032-4459-A980-DF9E630EF6E1@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/9 X-Sequence-Number: 17864 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