Skip to content

Commit

Permalink
Issue (#28): Fix missing query issue.
Browse files Browse the repository at this point in the history
There was a problem in the SQL file to query the wait events.
  • Loading branch information
ibrarahmad committed Apr 14, 2020
1 parent fca8cd4 commit a2b9726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_stat_monitor--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
(string_to_array(tables_names, ',')) tables_names,
wait_event,
wait_event_type
FROM pg_stat_monitor(true) m, pg_stat_wait_events() w WHERE (w.queryid = m.queryid) OR w.queryid IS NULL;
from pg_stat_monitor(true) m LEFT OUTER JOIN pg_stat_wait_events() w ON w.queryid = m.queryid;


-- Register a view on the function for ease of use.
Expand Down

0 comments on commit a2b9726

Please sign in to comment.