Fix tables list alphabetical order in PostgreSQL driver
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue