Thread: pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...

pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...

From
Bruce Momjian - CVS
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/05/16 12:42:32

Modified files:
    src/interfaces/jdbc/org/postgresql/jdbc1: DatabaseMetaData.java
    src/interfaces/jdbc/org/postgresql/jdbc2: DatabaseMetaData.java

Log message:
    I was trying to get a very nice FREE graphical db tool called DbVisualizer
    (http://www.ideit.com/products/dbvis/) to work with Postgresql and I found
    out the following bug: if database has views then getTables() gets the null
    pointer exception ('order by relname' makes the listing tree in
    DbVisualizer a lot useful !!)

    This patch should propably be applied to the the jdbc1's
    DatabaseMetaData.java, too.

    Panu Outinen