diff options
Diffstat (limited to 'check_postgres.pl')
-rw-r--r-- | check_postgres.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 017bed16a..d42b5abf1 100644 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -8019,6 +8019,7 @@ sub check_txn_idle { $SQL3 =~ s/current_query NOT LIKE '<IDLE>%'/(state NOT LIKE 'idle%' OR state IS NULL)/; # query_time $SQL3 =~ s/current_query/query/g; $SQL3 =~ s/'' AS state/state AS state/; + $SQL3 =~ s/query_start/state_change/g; my $info = run_command($SQL, { emptyok => 1 , version => [ "<8.3 $SQL2", ">9.1 $SQL3" ] } ); |