Skip to content

Commit 6b4ae13

Browse files
Fix typo in comparing start time
1 parent 631dda8 commit 6b4ae13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/cagg_refresh_producer_consumer/consumer.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ BEGIN
7272
a.finished IS NULL
7373
-- If pids ever get recycled (container/machine restart),
7474
-- this filter ensures we ignore the old ones
75-
AND started > backend_start
75+
AND started > pg_catalog.pg_postmaster_start_time()
7676
AND q.continuous_aggregate = a.continuous_aggregate
7777
)
7878
ORDER BY

0 commit comments

Comments
 (0)