Skip to content

Commit 5661765

Browse files
author
alexander popov
committed
Merge branch 'dev' of git.postgrespro.ru:pgpro-dev/mamonsu into dev
2 parents dd422e7 + da0adc3 commit 5661765

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mamonsu/tools/bootstrap/sql.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@
128128
RETURNS TABLE(application_name TEXT, {8} total_lag NUMERIC ) AS $$
129129
SELECT
130130
CONCAT(application_name, ' ', pid) as application_name,
131-
{6}
132-
pg_{7}_diff(pg_current_{7}(), replay_{9}) AS total_lag
131+
{6} pg_{7}_diff(pg_current_{7}(), replay_{9}) AS total_lag
133132
FROM pg_stat_replication
134133
$$ LANGUAGE SQL SECURITY DEFINER;
135134
"""

0 commit comments

Comments
 (0)