Skip to content

Commit

Permalink
Replace waiting column with wait_event_type and wait_event
Browse files Browse the repository at this point in the history
The pg_stat_activity view changed in PG 9.6

Fixes ManageIQ#13200
  • Loading branch information
carbonin committed Feb 7, 2019
1 parent 08bb42d commit bde0e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/extensions/ar_adapter/ar_dba.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bde0e6a

Please sign in to comment.