OSDN Git Service

This patch for the 7.0.2 JDBC interface addresses four issues I
authorBruce Momjian <bruce@momjian.us>
Tue, 12 Sep 2000 04:16:59 +0000 (04:16 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 12 Sep 2000 04:16:59 +0000 (04:16 +0000)
commit879639b5bef881277eaf01c9d94c45f358558c2d
tree85956185438fb9555efa1ce0caf4513a71751228
parent0ba0e321726e02c54c4440282b51f25078fe8d81
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

Christopher Cain
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java