Index: src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java,v retrieving revision 1.16 diff -c -r1.16 DatabaseMetaData.java *** src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java 2001/05/16 03:40:25 1.16 --- src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java 2001/05/16 03:47:08 *************** *** 1666,1672 **** // Now take the pattern into account sql.append(") and relname like '"); sql.append(tableNamePattern.toLowerCase()); ! sql.append("'"); // Now run the query r = connection.ExecSQL(sql.toString()); --- 1666,1672 ---- // Now take the pattern into account sql.append(") and relname like '"); sql.append(tableNamePattern.toLowerCase()); ! sql.append("' order by relkind, relname"); // Now run the query r = connection.ExecSQL(sql.toString());