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:
3c62adc
)
Better parsing of output for corner cases.
author
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 3 Jan 2011 18:10:26 +0000
(13:10 -0500)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 3 Jan 2011 18:10:26 +0000
(13:10 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 7089568f1852d2871f3b76dd106953b744b97896..968c1c6bfd4ca15e609509f52367b1f0115ed902 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-2042,6
+2042,9
@@
sub run_command {
elsif ($line =~ /^\s+: (.*)/) {
$stuff[$num]{$lastval} .= "\n$1";
}
+ elsif ($line =~ /^\s+\| (.+)/) {
+ $stuff[$num]{$lastval} .= "\n$1";
+ }
else {
my $msg = msg('no-parse-psql');
warn "$msg\n";