Received: from mail1.panix.com (mail1.panix.com [166.84.0.212]) by hub.org (8.10.1/8.10.1) with ESMTP id e5GEt0N39600 for ; Fri, 16 Jun 2000 10:55:00 -0400 (EDT) Received: from nksystems.com (remote-nksystems-gw.nyc.dsl.access.net [166.84.151.226]) by mail1.panix.com (Postfix) with ESMTP id 51ACF31259 for ; Fri, 16 Jun 2000 10:48:27 -0400 (EDT) Message-ID: <394A3D07.C1542D05@nksystems.com> Date: Fri, 16 Jun 2000 10:43:19 -0400 From: Nissim X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-4mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: [PATCH] Datatype of OID should be VARBINARY, not INT Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200006/70 The datatype returned by the ResultSetMetaData for OID should be VARBINARY, not INT. Here's a patch for Field.java: Index: src/interfaces/jdbc/org/postgresql/Field.java =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Field.java,v retrieving revision 1.1 diff -r1.1 Field.java 118c118 < "int4","oid", --- > "int4", 129c129,130 < "abstime","timestamp" --- > "abstime","timestamp", > "oid" 141c142 < Types.INTEGER,Types.INTEGER, --- > Types.INTEGER, 152c153,154 < Types.TIMESTAMP,Types.TIMESTAMP --- > Types.TIMESTAMP,Types.TIMESTAMP, > Types.VARBINARY