diff options
author | Greg Sabino Mullane | 2009-04-24 16:11:51 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-04-24 16:11:51 +0000 |
commit | 39423bbe27d432b5ba562265e7b8cc31aec09fee (patch) | |
tree | e93a5d6e61ccff1b8348b1d1c09fb946e74c5af9 | |
parent | db99c81fb4980e31043ce7361932be36b37285ac (diff) |
Minor Perl::Critic inspired change (plus another git push test)
-rwxr-xr-x | check_postgres.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 37f0d86e7..94f9d522f 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2812,10 +2812,10 @@ sub check_fsm_pages { (my $c = $critical) =~ s/\D//; my $SQL = qq{SELECT pages, maxx, ROUND(100*(pages/maxx)) AS percent\n}. qq{FROM (SELECT (sumrequests+numrels)*chunkpages AS pages\n}. - qq{ FROM (SELECT SUM(CASE WHEN avgrequest IS NULL THEN interestingpages/32 }. + qq{ FROM (SELECT SUM(CASE WHEN avgrequest IS NULL THEN interestingpages/32\n }. qq{ ELSE interestingpages/16 END) AS sumrequests,\n}. qq{ COUNT(relfilenode) AS numrels, 16 AS chunkpages FROM pg_freespacemap_relations) AS foo) AS foo2,\n}. - qq{ (SELECT setting::NUMERIC AS maxx FROM pg_settings WHERE name = 'max_fsm_pages') AS foo3}; + q{ (SELECT setting::NUMERIC AS maxx FROM pg_settings WHERE name = 'max_fsm_pages') AS foo3}; my $info = run_command($SQL, {regex => qr[\d+] } ); |