Fix tables list alphabetical order in PostgreSQL driver

This commit is contained in:
Matej Humpal 2015-01-06 11:20:40 +01:00 committed by Jakub Vrana
parent 647e8d5cc1
commit 8cb8a75658

View file

@ -231,9 +231,10 @@ if (isset($_GET["pgsql"])) {
UNION ALL
SELECT matviewname, 'MATERIALIZED VIEW'
FROM pg_matviews
WHERE schemaname = current_schema()
ORDER BY table_name";
WHERE schemaname = current_schema()";
}
$query .= "
ORDER BY 1";
return get_key_vals($query);
}