pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 (DatabaseMetaData.java)

From: Bruce Momjian - CVS <momjian>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 (DatabaseMetaData.java)
Date: 2000-09-12 04:16:59
Message-ID: 200009120416.e8C4Gxu98443@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Tuesday, September 12, 2000 @ 00:16:59
Author: momjian

Update of /home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2
from hub.org:/home/projects/pgsql/tmp/cvs-serv98380/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2

Modified Files:
DatabaseMetaData.java

----------------------------- Log Message -----------------------------

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2000-09-12 04:28:30 pgsql/src/pl (Makefile)
Previous Message Bruce Momjian - CVS 2000-09-12 04:15:59 pgsql/src/bin/pg_dump (pg_dump.c)