diff options
author | Guillaume Lelarge | 2011-04-22 14:33:36 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-04-22 14:33:36 +0000 |
commit | 69ad9d6039172e1ccf46b6320c9d5e960daebad5 (patch) | |
tree | 0c3351fe85eb10e5cc422d3cb28ab9b39d4fb135 /check_postgres.pl | |
parent | e84056afb229357878cf6c1a812e7e012cb9ae9d (diff) |
Fix typo in check_wal_files.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 33ede0950..41c99bc9d 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -7560,7 +7560,7 @@ sub check_wal_files { my ($warning, $critical) = validate_range({type => 'positive integer', leastone => 1}); ## Figure out where the pg_xlog directory is - $SQL = q{SELECT count(*) AS count FROM pg_ls_dir('pg_xlog') WHERE pg_ls_dir ~ E'^[0-9A-F]{24}$extrabit$'}; ## no critic (RequireInterpolationOfMetachars) + $SQL = qq{SELECT count(*) AS count FROM pg_ls_dir('pg_xlog') WHERE pg_ls_dir ~ E'^[0-9A-F]{24}$extrabit$'}; ## no critic (RequireInterpolationOfMetachars) my $info = run_command($SQL, {regex => qr[\d] }); |