Might help with https://debbie.postgis.net/job/PostGIS_Regress/8247/console
git-svn-id: http://svn.osgeo.org/postgis/trunk@16237
b70326c6-7e19-0410-871a-
916f4a2858ee
die "$script not found\n";
}
}
+
+ if ( $OPT_WITH_SFCGAL )
+ {
+ my $script = `ls ${STAGED_SCRIPTS_DIR}/sfcgal_upgrade.sql`;
+ chomp($script);
+ if ( -e $script )
+ {
+ print "Upgrading sfcgal\n";
+ load_sql_file($script);
+ }
+ else
+ {
+ die "$script not found\n";
+ }
+ }
+
return 1;
}
}
}
+ if ( $OPT_WITH_SFCGAL )
+ {
+ my $sql = "ALTER EXTENSION postgis_sfcgal UPDATE TO '${nextver}'";
+ $cmd = "psql $psql_opts -c \"" . $sql . "\" $DB >> $REGRESS_LOG 2>&1";
+ $rv = system($cmd);
+ if ( $rv ) {
+ fail "Error encountered creating EXTENSION POSTGIS_SFCGAL", $REGRESS_LOG;
+ die;
+ }
+ }
+
return 1;
}