Skip to content

Commit 5a5cf9f

Browse files
author
Greg Sabino Mullane
committed
Allow optional space before 'QUERY PLAN'
1 parent 819a956 commit 5a5cf9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ sub run_command {
24632463
$stuff[$lnum]{$1} = $2;
24642464
$lastval = $1;
24652465
}
2466-
elsif ($line =~ /^QUERY PLAN\s+\| (.*)/) {
2466+
elsif ($line =~ /^ ?QUERY PLAN\s+\| (.*)/) {
24672467
$stuff[$lnum]{queryplan} = $1;
24682468
$lastval = 'queryplan';
24692469
}

0 commit comments

Comments
 (0)