Skip to content

Commit 589bb25

Browse files
committed
Commit markers
Signed-off-by: Felix Yuan <felix.yuan@reddit.com>
1 parent ca9e359 commit 589bb25

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

collector/pg_stat_activity_autovacuum_active.go

-9
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,12 @@ var (
4646
SELECT
4747
v.phase,
4848
CASE
49-
<<<<<<< HEAD
50-
when a.query ~ '^autovacuum.*to prevent wraparound' then 'wraparound'
51-
when a.query ~* '^vacuum' then 'user'
52-
when a.pid is null then 'idle'
53-
ELSE 'regular'
54-
END AS mode,
55-
count(1) AS workers_count
56-
=======
5749
WHEN a.query ~ '^autovacuum.*to prevent wraparound' THEN 'wraparound'
5850
WHEN a.query ~* '^vacuum' THEN 'user'
5951
WHEN a.pid is NULL THEN 'idle'
6052
ELSE 'regular'
6153
END as mode,
6254
count(1) as workers_count
63-
>>>>>>> c928d57 (SQL formatting)
6455
FROM pg_stat_progress_vacuum v
6556
LEFT JOIN pg_catalog.pg_stat_activity a USING (pid)
6657
GROUP BY 1,2

0 commit comments

Comments
 (0)