mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-211: Fix the issue while generating histogram.
This commit is contained in:
@@ -148,7 +148,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
|
|||||||
comments,
|
comments,
|
||||||
planid,
|
planid,
|
||||||
query_plan,
|
query_plan,
|
||||||
(SELECT query from pg_stat_monitor_internal(true) s where s.queryid = p.top_queryid) AS top_query,
|
(SELECT query from pg_stat_monitor_internal(true) s where s.queryid = p.top_queryid and s.bucket = p.bucket) AS top_query,
|
||||||
application_name,
|
application_name,
|
||||||
string_to_array(relations, ',') AS relations,
|
string_to_array(relations, ',') AS relations,
|
||||||
cmd_type,
|
cmd_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user