mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 00:28:34 +02:00
Fix process list in PostgreSQL 9.2
This commit is contained in:
@@ -574,7 +574,8 @@ AND typelem = 0"
|
||||
}
|
||||
|
||||
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() {
|
||||
|
@@ -4,6 +4,7 @@ Don't select row on double click
|
||||
Shorten values in varchar fields
|
||||
Display table default values on wide screens
|
||||
Fix switching language on first load
|
||||
PostgreSQL: Fix process list in version 9.2
|
||||
|
||||
Adminer 3.6.1 (released 2012-09-17):
|
||||
Fix compiled version on PHP with multibyte support
|
||||
|
Reference in New Issue
Block a user