summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-11-24 05:07:01 +0000
committerGreg Sabino Mullane2011-11-24 05:07:01 +0000
commitc0bd7ef322105ca6ff6dd369c884ec49ac936c4b (patch)
tree3cac4d83789499f67e1f32f3ff3e6518f2085c05 /check_postgres.pl
parent5cc0f19de74925d624b9ab3c51c8b034e9d66057 (diff)
Exclude IIT from txn_time
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 8a71853ad..3b3872d3c 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -7515,7 +7515,7 @@ sub check_txn_time {
'',
'',
'xact_start',
- q{xact_start IS NOT NULL});
+ q{xact_start IS NOT NULL AND current_query <> '<IDLE> in transaction'});
return;
@@ -9511,6 +9511,9 @@ 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)