From: Greg Sabino Mullane Date: Mon, 3 Jan 2011 18:10:26 +0000 (-0500) Subject: Better parsing of output for corner cases. X-Git-Tag: 2.15.4~3 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=e8b6ef46c21c24ba7e0fb1e90ba89bf6bbcfb4b0;p=check_postgres.git Better parsing of output for corner cases. --- 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";