Skip to content

Commit 88c90e0

Browse files
committed
fix: fixed bootstrap Replication metric Total Lag type
1 parent 80d4eba commit 88c90e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/tools/bootstrap/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
FROM pg_catalog.pg_prepared_xacts$$ LANGUAGE SQL SECURITY DEFINER;
169169
170170
CREATE OR REPLACE FUNCTION mamonsu.count_{3}_lag_lsn()
171-
RETURNS TABLE(application_name TEXT, {8} total_lag NUMERIC ) AS $$
171+
RETURNS TABLE(application_name TEXT, {8} total_lag INTEGER) AS $$
172172
SELECT application_name,
173173
{6}
174174
(pg_{7}_diff(pg_current_{7}(), replay_{9}))::int AS total_lag

0 commit comments

Comments
 (0)