]> granicus.if.org Git - postgis/commitdiff
Added skip of postgisgistcostestimate (obsoleted)
authorSandro Santilli <strk@keybit.net>
Wed, 18 Aug 2004 13:21:53 +0000 (13:21 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 18 Aug 2004 13:21:53 +0000 (13:21 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@684 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_restore.pl

index e03d0b22f2ebe2f0a2efbefa89b14c19c429e700..417bd6f193b29732fb456504aa2b7104b7a9f7af 100644 (file)
@@ -296,6 +296,13 @@ while( my $line = <INPUT> )
                        print "SKIPPING FUNC $id\n" if $DEBUG;
                        next;
                }
+               # This is an old postgis function which might
+               # still be in a dump
+               if ( $funcname eq 'postgisgistcostestimate' )
+               {
+                       print "SKIPPING FUNC $id\n" if $DEBUG;
+                       next;
+               }
                if ( $funcs{$id} )
                {
                        print "SKIPPING PGIS FUNC $id\n" if $DEBUG;