]> git.joonet.de Git - adminer.git/commitdiff
Sort schemas in PostgreSQL
authorJakub Vrana <jakub@vrana.cz>
Fri, 29 Jul 2011 15:59:14 +0000 (17:59 +0200)
committerJakub Vrana <jakub@vrana.cz>
Fri, 29 Jul 2011 15:59:14 +0000 (17:59 +0200)
adminer/drivers/pgsql.inc.php
changes.txt

index f5c038edc915df3507bcc8ef29c9bab79596d800..ee66cd156f21c9df13f6cee9833351d64e57ad24 100644 (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() {
index a32c9e5fe6167271718a059e24ed0ec118b15302..341f566303e1ff22b0d17bd5ba1593d1312f3cc0 100644 (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