diff --git a/lib/extensions/ar_adapter/ar_dba.rb b/lib/extensions/ar_adapter/ar_dba.rb index e44024a49122..c0deade972f9 100644 --- a/lib/extensions/ar_adapter/ar_dba.rb +++ b/lib/extensions/ar_adapter/ar_dba.rb @@ -24,7 +24,8 @@ def client_connections SELECT client_addr AS client_address , datname AS database , pid AS spid - , waiting AS is_waiting + , wait_event_type + , wait_event , query FROM pg_stat_activity ORDER BY 1, 2