summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-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;
}