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.
1 parent e987395 commit da0adc3Copy full SHA for da0adc3
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