[PATCH] Datatype of OID should be VARBINARY, not INT - Mailing list pgsql-interfaces

From Nissim
Subject [PATCH] Datatype of OID should be VARBINARY, not INT
Date
Msg-id 394A3D07.C1542D05@nksystems.com
Whole thread Raw
Responses Re: [PATCH] Datatype of OID should be VARBINARY, not INT
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Jim Caley
Date:
Subject: Re: java.sql.SQLException: Bad Timestamp Format at 19 in 2000-06-14 15:48:18.80-04
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Datatype of OID should be VARBINARY, not INT