1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 23:57:29 +02:00

Process list for PostgreSQL

This commit is contained in:
Jan Dolecek
2011-05-11 10:48:51 +01:00
committed by Jakub Vrana
parent 7f05e73689
commit 06aa0f842b
4 changed files with 27 additions and 9 deletions

View File

@@ -545,12 +545,16 @@ AND typelem = 0"
function show_variables() {
return get_key_vals("SHOW ALL");
}
function process_list() {
return get_rows("SELECT * FROM pg_stat_activity ORDER BY procpid");
}
function show_status() {
}
function support($feature) {
return ereg('^(comment|view|scheme|sequence|trigger|type|variables|drop_col)$', $feature); //! routine|
return ereg('^(comment|view|scheme|processlist|sequence|trigger|type|variables|drop_col)$', $feature); //! routine|
}
$jush = "pgsql";