diff options
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index f248782cf..438f0f4b7 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2232,6 +2232,10 @@ sub run_command { elsif ($line =~ /^\s+\| (.+)/) { $stuff[$num]{$lastval} .= "\n$1"; } + ## No content: can happen in the source of functions, for example + elsif ($line =~ /^\s+\|\s+$/) { + $stuff[$num]{$lastval} .= "\n"; + } else { my $msg = msg('no-parse-psql'); warn "$msg\n"; |