From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | DatabaseMetaData oddities |
Date: | 2002-12-17 06:01:33 |
Message-ID: | 20021217060130.GA9283@opencloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
Attachment | Content-Type | Size |
---|---|---|
pgsql_getTypeInfo-ordering.patch | text/plain | 10.7 KB |
pgsql_more-jdbc3-metadata.patch | text/plain | 3.6 KB |
pgsql_reduce-table-name-length.patch | text/plain | 1.9 KB |
pgsql_null-statement-tostring.patch | text/plain | 831 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Taylor | 2002-12-17 09:32:39 | Re: [JDBC] JDBC - Open Office |
Previous Message | Dave Cramer | 2002-12-16 23:36:15 | Re: jdbc3 |