From e8b6ef46c21c24ba7e0fb1e90ba89bf6bbcfb4b0 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 3 Jan 2011 13:10:26 -0500 Subject: [PATCH] Better parsing of output for corner cases. --- check_postgres.pl | 3 +++ 1 file changed, 3 insertions(+) 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"; -- 2.39.5