Skip to content

Commit b4c5250

Browse files
Fix #1185 bug (#1197) (#1201)
This semicolon breaks the query Signed-off-by: Joe Adams <[email protected]> Co-authored-by: Joe Adams <[email protected]>
1 parent ef2736e commit b4c5250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_process_idle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (PGProcessIdleCollector) Update(ctx context.Context, instance *instance, ch
5656
COUNT(*) AS process_idle_seconds_count
5757
FROM pg_stat_activity
5858
WHERE state ~ '^idle'
59-
AND pid <> pg_backend_pid();
59+
AND pid <> pg_backend_pid()
6060
GROUP BY state, application_name
6161
),
6262
buckets AS (

0 commit comments

Comments
 (0)