We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc2040 commit 28c55c8Copy full SHA for 28c55c8
collector/pg_stat_statements.go
@@ -97,7 +97,7 @@ var (
97
pg_get_userbyid(userid) as user,
98
pg_database.datname,
99
pg_stat_statements.queryid,
100
- pg_stat_statements.query as query,
+ LEFT(pg_stat_statements.query, %d) as query,
101
pg_stat_statements.calls as calls_total,
102
pg_stat_statements.total_exec_time / 1000.0 as seconds_total,
103
pg_stat_statements.rows as rows_total,
0 commit comments