[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.2-23-g7c28ab0d1

git at osgeo.org git at osgeo.org
Sat Aug 13 00:27:04 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.2 has been updated
       via  7c28ab0d116b93e29f2c0212e61dac9b4f5a2d92 (commit)
      from  716a89d618e6c2aa7f9cea80de27f6908dcd6c99 (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 7c28ab0d116b93e29f2c0212e61dac9b4f5a2d92
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
    is NOT given and the default version in .control file
    is older than 3.0 (pre-split times)

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