[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc1-5-g75c6cf221
git at osgeo.org
git at osgeo.org
Fri Aug 12 10:31:00 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, master has been updated
via 75c6cf22148a5976255cc331b6314afcd2596a70 (commit)
from a903b04e3eee109e7a6d6ea44e12583429f4dd28 (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 75c6cf22148a5976255cc331b6314afcd2596a70
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Aug 12 19:29:00 2022 +0200
run_test.pl: fix support for pre-split-raster unpackaged upgrade testing
diff --git a/regress/run_test.pl b/regress/run_test.pl
index c66331f5b..192286b2f 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -125,7 +125,8 @@ sub has_split_raster_ext
my $fullver = shift;
# unpackaged is always current, so does have
# split raster already.
- return 1 if $fullver =~ /^unpackaged/;
+ return 1 if $fullver =~ /^unpackaged$/;
+ $fullver =~ s/unpackaged//;
my @ver = split(/\./, $fullver);
return 0 if ( $ver[0] < 3 );
return 1;
@@ -1716,7 +1717,7 @@ sub upgrade_spatial_extensions
return 1;
}
- if ( $OPT_WITH_RASTER )
+ if ( $OPT_WITH_RASTER && has_split_raster_ext($OPT_UPGRADE_FROM) )
{
my $sql = "ALTER EXTENSION postgis_raster UPDATE TO '${nextver}'";
-----------------------------------------------------------------------
Summary of changes:
regress/run_test.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list