File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mamonsu/plugins/pgsql/driver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Pool(object):
1919 'select mamonsu.timestamp_get()'
2020 ),
2121 'count_wal_files' : (
22- "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_{0}')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to '[0-9A-F]{24 }'" ,
22+ "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_{0}')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to '[0-9A-F]{{24} }'" ,
2323 'select mamonsu.count_{0}_files()'
2424 ),
2525 'count_autovacuum' : (
@@ -176,7 +176,7 @@ def databases(self):
176176 databases .append (row [0 ])
177177 return databases
178178
179- def fill_query_params (slf , query , params ):
179+ def fill_query_params (self , query , params ):
180180 if params :
181181 return query .format (* params )
182182 else :
You can’t perform that action at this time.
0 commit comments