Skip to content

Commit 3a7daec

Browse files
authored
Merge pull request #198 from debugger14/correct-error-bootstrap-autovacuum_utilization-less-100000
correct error in finction name for PG version less 10000
2 parents d030b48 + 1e1bbbb commit 3a7daec

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)