Skip to content

Commit

Permalink
Add limit
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: fireflg <[email protected]>
Signed-off-by: nikolay.deryugin <[email protected]>
  • Loading branch information
2 people authored and nikolay.deryugin committed Sep 25, 2023
1 parent 67aa0b8 commit 6cbfd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/pg_stat_statements.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var (
pg_get_userbyid(userid) as user,
pg_database.datname,
pg_stat_statements.queryid,
pg_stat_statements.query as query,
LEFT(pg_stat_statements.query, %d) as query,
pg_stat_statements.calls as calls_total,
pg_stat_statements.total_time / 1000.0 as seconds_total,
pg_stat_statements.rows as rows_total,
Expand Down

0 comments on commit 6cbfd31

Please sign in to comment.