summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorMartin von Oertzen2011-02-11 09:36:21 +0000
committerMartin von Oertzen2011-02-11 09:36:21 +0000
commitfd268c97126e7b872e8c11cd056e92f03766b4ee (patch)
tree3dc0ff428fd60d80c632b58ae83bf2adfc9db5ce /check_postgres.pl
parentd5b93e6d910917760c2fa684f746f1e154524e98 (diff)
Fix the <IDLE>-state in Bug #43.
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 374be051d..9b0f13990 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -4936,7 +4936,7 @@ sub check_query_time {
msg('queries'),
msg('query-time'),
'query_start',
- q{query_start IS NOT NULL AND current_query <> '<IDLE> in transaction'});
+ q{query_start IS NOT NULL AND current_query NOT LIKE '<IDLE>%'});
return;