Sort schemas in PostgreSQL

This commit is contained in:
Jakub Vrana 2011-07-29 17:59:14 +02:00
parent 21e88515c1
commit 9dda217d55
2 changed files with 2 additions and 2 deletions

View file

@ -533,7 +533,7 @@ AND typelem = 0"
}
function schemas() {
return get_vals("SELECT nspname FROM pg_namespace");
return get_vals("SELECT nspname FROM pg_namespace ORDER BY nspname");
}
function get_schema() {

View file

@ -1,7 +1,7 @@
Adminer 3.3.2-dev:
Don't scroll with AJAX select order and alter move column
Fast number of rows with big tables (PostgreSQL)
Sort databases (PostgreSQL)
Sort databases and schemas (PostgreSQL)
Adminer 3.3.1 (released 2011-07-27):
Fix XSS introduced in Adminer 3.2.0