mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 19:13:59 +02:00
Fix tables list alphabetical order in PostgreSQL driver
This commit is contained in:
committed by
Jakub Vrana
parent
647e8d5cc1
commit
8cb8a75658
@@ -231,9 +231,10 @@ if (isset($_GET["pgsql"])) {
|
|||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT matviewname, 'MATERIALIZED VIEW'
|
SELECT matviewname, 'MATERIALIZED VIEW'
|
||||||
FROM pg_matviews
|
FROM pg_matviews
|
||||||
WHERE schemaname = current_schema()
|
WHERE schemaname = current_schema()";
|
||||||
ORDER BY table_name";
|
|
||||||
}
|
}
|
||||||
|
$query .= "
|
||||||
|
ORDER BY 1";
|
||||||
return get_key_vals($query);
|
return get_key_vals($query);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user