Skip site navigation (1) Skip section navigation (2)

JDBC Patch

From: Christopher Cain <ccain(at)mhsoftware(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: JDBC Patch
Date: 2000-08-24 19:30:14
Message-ID: 39A577C6.52AD43D8@mhsoftware.com (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-patches
This patch for the 7.0.2 JDBC interface addresses four issues I
encountered while getting my reporting tool up and running with the
driver. All changes are in the DatabaseMetaData class.

Problem: The getDatabaseProductVersion() method was returning "6.5.2"
Resolution: Changed it to return "7.0.2"

Problem: A call to getTables() with an unsupported table type (in the
String array) resulted in a malformed SQL statement and subsequent
parsing error
Resolution: Unsupported table types are now ignored without error

Problem: In a getTables() call, tables and views were both returned by
the "TABLE" table type, and the "VIEW" table type was unsupported
Resolution: Changed the "TABLE" type to return only physical tables and
added support for the "VIEW" table type (returning only views)

Problem: The getIdentifierQuoteString() method was returning null
Resolution: This method now returns a double-quote

Regards ...

- Christopher

Attachment: jdbc-0824.patch
Description: text/plain (5.5 KB)

Responses

pgsql-patches by date

Next:From: Jaykumar AhirDate: 2000-08-24 20:11:23
Subject: to_char() function's bug and it's patch
Previous:From: MalcontentDate: 2000-08-24 06:30:00
Subject: Re: when does CREATE VIEW not create a view?

pgsql-interfaces by date

Next:From: John McKownDate: 2000-08-24 23:15:00
Subject: Re: JDBC problem
Previous:From: John ThorhauerDate: 2000-08-24 19:29:26
Subject: Re: AW: vb postgres blobs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group