summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-01-21 04:03:15 +0000
committerGreg Sabino Mullane2011-01-21 04:03:15 +0000
commit96672beffe237eb2d4eec578946482aa6ccc7635 (patch)
tree12c0ff8112d929f5adff8c8dca346f74eda901fb
parentceb5016e40a31241fc56be9ffadfe1a31d1e07fb (diff)
Typo.
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 89a96f850..83fcb7e05 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2529,7 +2529,7 @@ sub check_autovac_freeze {
elsif ($r->{perc} == $maxp) {
$maxdb .= sprintf '%s%s', (length $maxdb ? ' | ' : ''), $r->{datname};
}
- $maxt = $r->{tnxs} if $r->{txns} > $maxt;
+ $maxt = $r->{txns} if $r->{txns} > $maxt;
next SLURP;
}