1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

PostgreSQL variables

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1522 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-05-05 16:31:39 +00:00
parent 6420c5848c
commit 1737268d09
2 changed files with 9 additions and 2 deletions

View 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";