[Check_postgres-commit] [commit] Separate function args with commas in same_schema output.

check_postgres at bucardo.org check_postgres at bucardo.org
Wed Feb 24 22:38:10 UTC 2010


Committed by Greg Sabino Mullane <greg at endoint.com>

Separate function args with commas in same_schema output.

---
 check_postgres.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/check_postgres.pl b/check_postgres.pl
index e6fc9da..90ca0da 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -4848,6 +4848,7 @@ SQL
 						next;
 					}
 					my ($schema,$name,$args,$md5,$isstrict,$retset,$volatile) = ($1,$2,$3,$4,$5,$6,$7);
+					$args =~ s/ /,/g;
 					$args =~ s/(\d+)/$thing{$x}{type}{$1}/g;
 					$args =~ s/^\s*(.*)\s*$/($1)/;
 					$thing{$x}{functions}{"${schema}.${name}${args}"} = {
-- 
1.6.2.2



More information about the Check_postgres-commit mailing list