Fix process list in PostgreSQL 9.2
This commit is contained in:
parent
7015fd9706
commit
0408c21d07
|
@ -574,7 +574,8 @@ AND typelem = 0"
|
||||||
}
|
}
|
||||||
|
|
||||||
function process_list() {
|
function process_list() {
|
||||||
return get_rows("SELECT * FROM pg_stat_activity ORDER BY procpid");
|
global $connection;
|
||||||
|
return get_rows("SELECT * FROM pg_stat_activity ORDER BY " . ($connection->server_info < 9.2 ? "procpid" : "pid"));
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_status() {
|
function show_status() {
|
||||||
|
|
|
@ -4,6 +4,7 @@ Don't select row on double click
|
||||||
Shorten values in varchar fields
|
Shorten values in varchar fields
|
||||||
Display table default values on wide screens
|
Display table default values on wide screens
|
||||||
Fix switching language on first load
|
Fix switching language on first load
|
||||||
|
PostgreSQL: Fix process list in version 9.2
|
||||||
|
|
||||||
Adminer 3.6.1 (released 2012-09-17):
|
Adminer 3.6.1 (released 2012-09-17):
|
||||||
Fix compiled version on PHP with multibyte support
|
Fix compiled version on PHP with multibyte support
|
||||||
|
|
Loading…
Reference in a new issue