]> granicus.if.org Git - postgis/commitdiff
Drop topology schema after topology extension test (#2138)
authorSandro Santilli <strk@keybit.net>
Fri, 2 Jan 2015 17:11:25 +0000 (17:11 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 2 Jan 2015 17:11:25 +0000 (17:11 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13171 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index 00865a1ef5135070656b02e81988c0203cf43300..d0caba34ec93639d4690ee9820845058de05358f 100755 (executable)
@@ -1348,7 +1348,10 @@ sub drop_spatial_extensions
     
     if ( $OPT_WITH_TOPO )
     {
-        $cmd = "psql $psql_opts -c \"DROP EXTENSION postgis_topology\" $DB >> $REGRESS_LOG 2>&1";
+        # NOTE: "manually" dropping topology schema as EXTENSION does not
+        #       take care of that itself, see
+        #       http://trac.osgeo.org/postgis/ticket/2138
+        $cmd = "psql $psql_opts -c \"DROP EXTENSION postgis_topology; DROP SCHEMA topology;\" $DB >> $REGRESS_LOG 2>&1";
         $rv = system($cmd);
        $ok = 0 if $rv;
     }