diff options
author | Greg Sabino Mullane | 2011-01-03 18:10:26 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-01-03 18:10:26 +0000 |
commit | e8b6ef46c21c24ba7e0fb1e90ba89bf6bbcfb4b0 (patch) | |
tree | 9485fcfe7f8a2f6957c8ab6619aa0fc9daabe0ad | |
parent | 3c62adcc8e7bd58836ab9fe4a12e34f28c46ea88 (diff) |
Better parsing of output for corner cases.
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 7089568f1..968c1c6bf 100755 --- 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"; |