]> git.joonet.de Git - adminer.git/commitdiff
PostgreSQL variables
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 5 May 2010 16:31:39 +0000 (16:31 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 5 May 2010 16:31:39 +0000 (16:31 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1522 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/drivers/pgsql.inc.php
adminer/static/editing.js

index 477cefb34ce2f22554a1bfde05fe04c22208910f..883034b729b52261704001e6b839584b0589e7f7 100644 (file)
@@ -470,8 +470,12 @@ WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name = " . $connection->qu
                return "\connect " . idf_escape($database);
        }
        
+       function show_variables() {
+               return get_key_vals("SHOW ALL");
+       }
+       
        function support($feature) {
-               return ereg('^(comment|view|scheme|trigger|drop_col)$', $feature); //! routine|sequence|
+               return ereg('^(comment|view|scheme|trigger|variables|drop_col)$', $feature); //! routine|sequence|
        }
        
        $driver = "pgsql";
index d6673896f4a810218f7c0f707dd26389d7b10e32..483f9f06e7f11887b2c85e6a5fc3da8cce5c014e 100644 (file)
@@ -10,10 +10,13 @@ function bodyLoad(version) {
        script.onload = function () {
                if (window.jush) { // IE runs in case of an error too
                        jush.create_links = ' target="_blank"';
-                       jush.urls.pgsql[0] = 'http://www.postgresql.org/docs/' + version + '/static/$key';
                        jush.urls.sql[0] = 'http://dev.mysql.com/doc/refman/' + version + '/en/$key';
+                       jush.urls.sql_sqlset = jush.urls.sql[0];
                        jush.urls.sqlset[0] = jush.urls.sql[0];
                        jush.urls.sqlstatus[0] = jush.urls.sql[0];
+                       jush.urls.pgsql[0] = 'http://www.postgresql.org/docs/' + version + '/static/$key';
+                       jush.urls.pgsql_pgsqlset = jush.urls.pgsql[0];
+                       jush.urls.pgsqlset[0] = 'http://www.postgresql.org/docs/' + version + '/static/runtime-config-$key.html#GUC-$1';
                        jush.style(jushRoot + 'jush.css');
                        if (window.jushLinks) {
                                jush.custom_links = jushLinks;