Re: DatabaseMetaData oddities

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: DatabaseMetaData oddities
Date: 2003-02-03 09:05:17
Message-ID: 20030203090513.GA8081@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Is there any interest in these patches? Should I resend them elsewhere?

-O

----- Forwarded message from Oliver Jowett <oliver(at)opencloud(dot)com> -----

Date: Tue, 17 Dec 2002 19:01:33 +1300
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] DatabaseMetaData oddities
From: Oliver Jowett <oliver(at)opencloud(dot)com>

These patches fix some oddities in the postgresql JDBC driver's
implementation of DatabaseMetaData.

The patches are against recent CVS; I've used them against a 7.2.3 server
and the current CVS (7.4devel) server successfully.

Quick summaries:

pgsql_getTypeInfo-ordering.patch:
correct ordering of results from DatabaseMetaData.getTypeInfo().

pgsql_more-jdbc3-metadata.patch:
implement some unimplemented JDBC3 DatabaseMetaData methods.

pgsql_reduce-table-name-length.patch:
reduce getMaxTableNameLength() by 5 to account for the server
appending _pkey to generate an index name.

and one non-metadata patch:

pgsql_null-statement-tostring.patch:
avoid NullPointerException in AbstractJdbc1Statement.toString()

Hopefully these are useful to someone..

-O

[...]

----- End forwarded message -----

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2003-02-03 11:41:14 Re: DatabaseMetaData oddities
Previous Message Kuldip 2003-02-03 08:57:50 problem with currency symbol in rs.getString