mirror of
https://github.com/postgres/postgres.git
synced 2026-04-10 11:37:33 -04:00
changed sort of column names to sort by attnum, not attname
This commit is contained in:
parent
b8b92c6908
commit
0ea3b7b86f
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue