From: Bruce Momjian Date: Wed, 16 May 2001 04:01:04 +0000 (+0000) Subject: Backpatch ORDER BY fix to jdbc1. X-Git-Tag: REL7_2_BETA1~1270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aad93fb433ab738fe9a241f46b476307e0929862;p=postgresql Backpatch ORDER BY fix to jdbc1. --- diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java b/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java index 02729679b3..b6319b842a 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java @@ -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());