pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nissim <nissim@nksystems.com>
To: pgsql-interfaces@postgresql.org
Subject: [PATCH] Datatype of OID should be VARBINARY, not INT
Date: Fri, 16 Jun 2000 10:43:19 -0400
Message-ID: <394A3D07.C1542D05@nksystems.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <394A3D07.C1542D05@nksystems.com>
Permalink:  ../394A3D07.C1542D05@nksystems.com/
Also on:    postgresql.org/message-id/394A3D07.C1542D05@nksystems.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: nissim@nksystems.com
  Subject: Re: [PATCH] Datatype of OID should be VARBINARY, not INT
  In-Reply-To: <394A3D07.C1542D05@nksystems.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox