diff options
author | Greg | 2009-05-29 20:44:38 +0000 |
---|---|---|
committer | Greg | 2009-05-29 20:44:38 +0000 |
commit | 215aee79b48162330531c42604e344e75321f25d (patch) | |
tree | 28b2a56d2979d3232ff1b7a808894e4657588f28 /check_postgres.pl | |
parent | 5ab937399cead7d366e34b1e3aa72a61dab44cc8 (diff) |
Make functions one per line
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 79a7277e8..ed877fbc7 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -5253,17 +5253,19 @@ sub check_same_schema { if (exists $fail{functions}) { if (exists $fail{functions}{notexist}) { if (exists $fail{functions}{notexist}{1}) { - $db->{perf} .= ' Functions on 1 but not 2: '; - $db->{perf} .= join ', ' => @{$fail{functions}{notexist}{1}}; + for my $name (@{$fail{functions}{notexist}{1}}) { + $db->{perf} .= " Function on 1 but not 2: $name "; + } } if (exists $fail{functions}{notexist}{2}) { - $db->{perf} .= ' Functions on 2 but not 1: '; - $db->{perf} .= join ', ' => @{$fail{functions}{notexist}{2}}; + for my $name (@{$fail{functions}{notexist}{2}}) { + $db->{perf} .= " Function on 2 but not 1: $name "; + } } } if (exists $fail{functions}{diffbody}) { for my $name (sort @{$fail{functions}{diffbody}}) { - $db->{perf} .= " Function body different on 1 than 2: $name"; + $db->{perf} .= " Function body different on 1 than 2: $name "; } } } |