mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 16:44:17 +02:00
postgresql : ERROR: function connection_id() does not exist
This commit is contained in:
@@ -638,6 +638,10 @@ AND typelem = 0"
|
||||
return queries("SELECT pg_terminate_backend(" . number($val).")");
|
||||
}
|
||||
|
||||
function connection_id(){
|
||||
return "SELECT pg_backend_pid()";
|
||||
}
|
||||
|
||||
function max_connections() {
|
||||
global $connection;
|
||||
return $connection->result("SHOW max_connections");
|
||||
|
Reference in New Issue
Block a user