Skip to content

Commit 1e1bbbb

Browse files
author
Pavel Sinyaev
committed
correct error in finction name for PG version less 10000
simply copy-paste
1 parent d030b48 commit 1e1bbbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/tools/bootstrap/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
FROM count_tb, settings_tb
103103
$$ LANGUAGE SQL SECURITY DEFINER;
104104
ELSE
105-
DROP FUNCTION IF EXISTS mamonsu.count_autovacuum();
106-
CREATE OR REPLACE FUNCTION mamonsu.count_autovacuum()
105+
DROP FUNCTION IF EXISTS mamonsu.autovacuum_utilization();
106+
CREATE OR REPLACE FUNCTION mamonsu.autovacuum_utilization()
107107
RETURNS FLOAT AS $$
108108
WITH count_tb AS (
109109
SELECT count(*)::float AS count

0 commit comments

Comments
 (0)