We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f7d7b commit 099a599Copy full SHA for 099a599
check_postgres.pl
@@ -7703,13 +7703,13 @@ sub check_txn_idle {
7703
my $st = $r->{state} || '';
7704
7705
## Return unknown if we cannot see because we are a non-superuser
7706
- if ($cq =~ /insufficient/o) {
+ if ($cq =~ /^insufficient/o) {
7707
add_unknown msg('psa-nosuper');
7708
return;
7709
}
7710
7711
## Return unknown if stats_command_string / track_activities is off
7712
- if ($cq =~ /disabled/o or $cq =~ /<command string not enabled>/) {
+ if ($cq =~ /^disabled/o or $cq =~ /^<command string not enabled>/) {
7713
add_unknown msg('psa-disabled');
7714
7715
0 commit comments