Issue (#28): Fix missing query issue.

There was a problem in the SQL file to query the wait events.
pull/36/head
Ibrar Ahmed 2020-04-14 12:33:37 +00:00
parent fca8cd431a
commit a2b9726f81
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
(string_to_array(tables_names, ',')) tables_names, (string_to_array(tables_names, ',')) tables_names,
wait_event, wait_event,
wait_event_type 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. -- Register a view on the function for ease of use.