From: Greg Sabino Mullane Date: Thu, 27 Aug 2009 16:50:10 +0000 (-0400) Subject: Single quote constants. X-Git-Tag: c9ed279d3bf192e41b4d5c7d65f115fa49ae2519~4 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=89cae658aa148aa3a22693ed0b98a18115a4f16a;p=check_postgres.git Single quote constants. --- diff --git a/check_postgres.pl b/check_postgres.pl index bc6e3d19b..8a826c7e3 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3585,7 +3585,7 @@ sub check_locks { if ($warning and exists $warning->{$type}) { $db->{perf} .= $warning->{$type}; } - $db->{perf} .= ";"; + $db->{perf} .= ';'; if ($critical and $critical->{$type}) { $db->{perf} .= $critical->{$type}; } @@ -4208,9 +4208,9 @@ sub check_txn_wraparound { my ($dbname,$dbtxns) = ($1,$2); $db->{perf} .= " '$dbname'=$dbtxns;"; $db->{perf} .= $warning if length $warning; - $db->{perf} .= ";"; + $db->{perf} .= ';'; $db->{perf} .= $critical if length $critical; - $db->{perf} .= ";0;2000000000"; + $db->{perf} .= ';0;2000000000'; next SLURP if skip_item($dbname); if ($dbtxns > $max) { $max = $dbtxns;