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):
1818 'select public.mamonsu_timestamp_get()'
1919 ),
2020 '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}' " ,
2222 'select public.mamonsu_count_xlog_files()'
2323 ),
2424 '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}' " ,
2626 'select public.mamonsu_count_wal_files()'
2727 ),
2828 'count_autovacuum' : (
You can’t perform that action at this time.
0 commit comments