summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl O. Pinc2013-05-24 16:35:52 +0000
committerRobert Treat2013-05-24 20:04:51 +0000
commit7ef555fb076bfbaedf8028905b2b03ec4ae1eb98 (patch)
treec344af1b4447e9b4ec11df20c0ca74e1c3e92d70
parent512787598360047268bd8d9bc33871b8efd04ece (diff)
Processes: Fix <= 9.1 to show only db related processes & clean dbname.
Fix bugs introduced in commit d571ecae7b by ioguix on 2012-09-21. I can't tell why these changes crept in along with the rest of the fixes in that commit. It looks like a testing version was committed.
-rwxr-xr-xclasses/database/Postgres91.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/database/Postgres91.php b/classes/database/Postgres91.php
index 34e08982..0c188eb7 100755
--- a/classes/database/Postgres91.php
+++ b/classes/database/Postgres91.php
@@ -39,10 +39,10 @@ class Postgres91 extends Postgres92 {
FROM pg_catalog.pg_stat_activity
ORDER BY datname, usename, procpid";
else {
- //$this->clean($database);
+ $this->clean($database);
$sql = "SELECT datname, usename, procpid AS pid, current_query AS query, query_start
FROM pg_catalog.pg_stat_activity
- -- WHERE datname='{$database}'
+ WHERE datname='{$database}'
ORDER BY usename, procpid";
}