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 @@ -18,11 +18,11 @@ class Pool(object):
18
18
'select public.mamonsu_timestamp_get()'
19
19
),
20
20
'count_xlog_files' : (
21
- "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_xlog')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to [0-9A-F]{24}" ,
21
+ "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_xlog')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to ' [0-9A-F]{24}' " ,
22
22
'select public.mamonsu_count_xlog_files()'
23
23
),
24
24
'count_wal_files' : (
25
- "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_wal')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to [0-9A-F]{24}" ,
25
+ "WITH list(filename) as (SELECT * FROM pg_catalog.pg_ls_dir('pg_wal')) SELECT COUNT(*)::BIGINT FROM list WHERE filename similar to ' [0-9A-F]{24}' " ,
26
26
'select public.mamonsu_count_wal_files()'
27
27
),
28
28
'count_autovacuum' : (
You can’t perform that action at this time.
0 commit comments