We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd422e7 + da0adc3 commit 5661765Copy full SHA for 5661765
mamonsu/tools/bootstrap/sql.py
@@ -128,8 +128,7 @@
128
RETURNS TABLE(application_name TEXT, {8} total_lag NUMERIC ) AS $$
129
SELECT
130
CONCAT(application_name, ' ', pid) as application_name,
131
-{6}
132
-pg_{7}_diff(pg_current_{7}(), replay_{9}) AS total_lag
+{6} pg_{7}_diff(pg_current_{7}(), replay_{9}) AS total_lag
133
FROM pg_stat_replication
134
$$ LANGUAGE SQL SECURITY DEFINER;
135
"""
0 commit comments