[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.6-22-g87624e04a

git at osgeo.org git at osgeo.org
Sat Aug 13 00:03:19 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.1 has been updated
       via  87624e04a811f370028cabf3d2adcf1f4040c862 (commit)
      from  cb54e728c0758d2c1fda2644ba22dd9110fccd26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 87624e04a811f370028cabf3d2adcf1f4040c862
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Aug 13 08:14:35 2022 +0200

    run_test: stop assuming default version has split raster
    
    Fixes --extension --upgrade tests where --upgrade-path
    comes from extension-based pre-3.0 version

diff --git a/regress/run_test.pl b/regress/run_test.pl
index ff1faaa14..4d852bdd6 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -1470,12 +1470,7 @@ sub prepare_spatial_extensions
 		}
  	}
 
-	if ( $OPT_WITH_RASTER && (
-		# NOTE: this code is assuming that the default version
-		# (!$OPT_UPGRADE_FROM) has split raster extension
-		! $OPT_UPGRADE_FROM ||
-		has_split_raster_ext($OPT_UPGRADE_FROM)
-	) )
+	if ( $OPT_WITH_RASTER && has_split_raster_ext($OPT_UPGRADE_FROM) )
 	{
 		my $sql = "CREATE EXTENSION postgis_raster";
 		if ( $OPT_UPGRADE_FROM ) {

-----------------------------------------------------------------------

Summary of changes:
 regress/run_test.pl | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list