summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index a075d97c7..5f78bbb8c 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2463,7 +2463,7 @@ sub run_command {
$stuff[$lnum]{$1} = $2;
$lastval = $1;
}
- elsif ($line =~ /^QUERY PLAN\s+\| (.*)/) {
+ elsif ($line =~ /^ ?QUERY PLAN\s+\| (.*)/) {
$stuff[$lnum]{queryplan} = $1;
$lastval = 'queryplan';
}