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):
19
19
'select mamonsu.timestamp_get()'
20
20
),
21
21
'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} }'" ,
23
23
'select mamonsu.count_{0}_files()'
24
24
),
25
25
'count_autovacuum' : (
@@ -176,7 +176,7 @@ def databases(self):
176
176
databases .append (row [0 ])
177
177
return databases
178
178
179
- def fill_query_params (slf , query , params ):
179
+ def fill_query_params (self , query , params ):
180
180
if params :
181
181
return query .format (* params )
182
182
else :
You can’t perform that action at this time.
0 commit comments