mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
changed sort of column names to sort by attnum, not attname
This commit is contained in:
@ -2309,7 +2309,7 @@ public abstract class AbstractJdbc1DatabaseMetaData
|
||||
if (columnNamePattern != null && !"".equals(columnNamePattern)) {
|
||||
sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern)+"' ";
|
||||
}
|
||||
sql += " ORDER BY nspname,relname,attname ";
|
||||
sql += " ORDER BY nspname,relname,attnum ";
|
||||
|
||||
ResultSet rs = connection.createStatement().executeQuery(sql);
|
||||
while (rs.next())
|
||||
|
Reference in New Issue
Block a user