From: Sandro Santilli Date: Fri, 19 Nov 2004 17:39:33 +0000 (+0000) Subject: Massaged to work with pg_dump-7.2 and pg_restore-7.2 X-Git-Tag: pgis_1_0_0RC1~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6b6a291747f1a01081d6376bd787f1c2c00c589;p=postgis Massaged to work with pg_dump-7.2 and pg_restore-7.2 git-svn-id: http://svn.osgeo.org/postgis/trunk@1107 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_restore.pl b/utils/postgis_restore.pl index 5b0eb32ab..d7b75dc38 100644 --- a/utils/postgis_restore.pl +++ b/utils/postgis_restore.pl @@ -265,8 +265,12 @@ while( my $line = ) if ($line =~ / FUNCTION *([^ ]*) *\(([^)]*)\)/) { my $funcname = $1; - #print "FUNCNAME: [$funcname]\n"; my @args = split(",", $2); + + $funcname =~ s/^"//; + $funcname =~ s/"$//; + #print "FUNCNAME: [$funcname]\n"; + #print "ARGS: [".@args."]\n"; my $wkbinvolved = 0; for (my $i=0; $i<@args; $i++)