From: Greg Sabino Mullane Date: Thu, 30 Dec 2010 18:17:32 +0000 (-0500) Subject: Make txn_idle show OK if none found. X-Git-Tag: 2.15.3^0 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f6616867215e4e0674dddb3e8b49231ddc2e2650;p=check_postgres.git Make txn_idle show OK if none found. --- diff --git a/check_postgres.pl b/check_postgres.pl index 17dea5efa..8b14e3d09 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -6827,7 +6827,7 @@ sub check_txn_idle { } $db->{perf} .= msg('maxtime', $max); if ($max < 0) { - add_unknown msg('txnidle-none'); + add_ok msg('txnidle-none'); next; }