Commit aad93fb4 authored by Bruce Momjian's avatar Bruce Momjian

Backpatch ORDER BY fix to jdbc1.

parent c5039e05
...@@ -1666,7 +1666,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData ...@@ -1666,7 +1666,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
// Now take the pattern into account // Now take the pattern into account
sql.append(") and relname like '"); sql.append(") and relname like '");
sql.append(tableNamePattern.toLowerCase()); sql.append(tableNamePattern.toLowerCase());
sql.append("'"); sql.append("' order by relkind, relname");
// Now run the query // Now run the query
r = connection.ExecSQL(sql.toString()); r = connection.ExecSQL(sql.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment