From: Martin von Oertzen Date: Fri, 11 Feb 2011 09:36:21 +0000 (+0000) Subject: Fix the -state in Bug #43. X-Git-Tag: 2.18.0~79^2 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=fd268c97126e7b872e8c11cd056e92f03766b4ee;p=check_postgres.git Fix the -state in Bug #43. --- 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 <> ' in transaction'}); + q{query_start IS NOT NULL AND current_query NOT LIKE '%'}); return;