projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819a956
)
Allow optional space before 'QUERY PLAN'
author
Greg Sabino Mullane
<
[email protected]
>
Sat, 1 Nov 2014 16:48:49 +0000
(12:48 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Sat, 1 Nov 2014 16:48:49 +0000
(12:48 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index a075d97c79eb75eebe48ed7dc32cffbc773d0559..5f78bbb8c95ed92a2487f0a67d4662df516eb64d 100755
(executable)
--- 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';
}