Separate function args with commas in same_schema output.
authorGreg Sabino Mullane <[email protected]>
Wed, 24 Feb 2010 22:37:49 +0000 (17:37 -0500)
committerGreg Sabino Mullane <[email protected]>
Wed, 24 Feb 2010 22:37:49 +0000 (17:37 -0500)
check_postgres.pl

index e6fc9da69f7b7984527c566724392dd8012525df..90ca0da06190150d9576de5cfde8c60531de411b 100755 (executable)
@@ -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}"} = {