From: Greg Sabino Mullane Date: Sat, 26 Nov 2011 20:46:37 +0000 (-0500) Subject: Revert bug 92 tweak, per point from Robert Treat. X-Git-Tag: 2.19.0~22 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8d5efef70c5efcb99a24102d0c1eaf6f8ed09efb;p=check_postgres.git Revert bug 92 tweak, per point from Robert Treat. No more late night coding for me. #easilybrokenpromises --- diff --git a/check_postgres.pl b/check_postgres.pl index 3b3872d3c..273c75f5a 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -7508,14 +7508,14 @@ sub check_txn_idle { sub check_txn_time { - ## This is the same as check_txn_idle, but we want where the time is not null - ## as well as excluding any idle in transactions + ## This is the same as check_txn_idle, but we want where the + ## transaction start time is not null check_txn_idle('txntime', '', '', 'xact_start', - q{xact_start IS NOT NULL AND current_query <> ' in transaction'}); + q{xact_start IS NOT NULL'}); return; @@ -9511,9 +9511,6 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane). Better ordering of output for bloat check - make indexes as important as tables (Greg Sabino Mullane; reported by Jens Wilke) - Exclude idle in transaction queries from the txn_time action - (Greg Sabino Mullane; reported by Peter Eisentraut in bug 92) - Show the dbservice if it was used at top of same_schema output (Mike Blackwell)