[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.7-27-g6ddae0608

git at osgeo.org git at osgeo.org
Fri Aug 12 23:15:25 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-2.5 has been updated
       via  6ddae060896215a3fbcaf18140d7c9e58dc34962 (commit)
      from  eb147eb98d49173defa0e69effd4bdb6989e82f0 (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 6ddae060896215a3fbcaf18140d7c9e58dc34962
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 handling of --raster --extension in 2.5 branch

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