mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
Issue (#28): Fix missing query issue.
There was a problem in the SQL file to query the wait events.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user