mirror of https://github.com/postgres/postgres
Here's an easy patch for todays snapshot to sort the result of the
public ResultSet getTables(String catalog, String schemaPattern, String Jeroen van Vianen
This commit is contained in:
parent
41a20bbbdf
commit
c5039e059e
|
@ -1666,7 +1666,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
|
|||
// Now take the pattern into account
|
||||
sql.append(") and relname like '");
|
||||
sql.append(tableNamePattern.toLowerCase());
|
||||
sql.append("'");
|
||||
sql.append("' order by relkind, relname");
|
||||
|
||||
// Now run the query
|
||||
r = connection.ExecSQL(sql.toString());
|
||||
|
|
Loading…
Reference in New Issue