Don't fail when query contains 'disabled' word
authorMarco Nenciarini <[email protected]>
Tue, 12 Aug 2014 08:27:17 +0000 (10:27 +0200)
committerChristoph Berg <[email protected]>
Thu, 26 May 2016 15:58:58 +0000 (17:58 +0200)
commit00dcadc439e4e6ac239b5c3640825a809fa7725a
treee2b70c3ca6221200e4cc0506879b729bb71a6c4e
parentcce3b95218899d2a71f9f6d5f55cafaca846380d
Don't fail when query contains 'disabled' word

If a query contains the disabled word (.e.g. select 1 as disabled) "check_postgres.pl --action txn_idle" exits with

```UNKNOWN: No queries - is stats_command_string or track_activities off?```

If you set track_activities to off, the status field contains 'disabled' (at least on 9.3)
check_postgres.pl