[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.7-23-ge254acac3
git at osgeo.org
git at osgeo.org
Fri Aug 12 10:29: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 e254acac3b5eed673bec9476e897f956648641a2 (commit)
from 6e4c43dfcbe6879c70c7ba27b61695c1fd965ec8 (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 e254acac3b5eed673bec9476e897f956648641a2
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