projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5127875
)
Processes: Fix <= 9.1 to show only db related processes & clean dbname.
author
Karl O. Pinc
<kop@meme.com>
Fri, 24 May 2013 16:35:52 +0000
(11:35 -0500)
committer
Robert Treat
<robert@omniti.com>
Fri, 24 May 2013 20:04:51 +0000
(16:04 -0400)
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.
classes/database/Postgres91.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/database/Postgres91.php
b/classes/database/Postgres91.php
index 34e089829c2214e1c6f00a79cd1a11bbf21bf2a0..0c188eb7b9f0f3c485f5e90c1b28733d234826f1 100755
(executable)
--- 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";
}