Skip to content

Commit

Permalink
Add limit
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: fireflg <96112649+fireflg@users.noreply.github.com>
  • Loading branch information
fireflg and SuperQ committed Sep 25, 2023
1 parent 747003b commit 29bc603
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 29bc603

Please sign in to comment.