From bee14183b0dbbaf8895ed87e97863a1cd0d35272 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 22 Sep 2018 10:37:45 +0000 Subject: [PATCH] Tell run_test.pl that split-raster was introduced in PostGIS 3.0.0 Closes #4185 git-svn-id: http://svn.osgeo.org/postgis/trunk@16829 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/run_test.pl b/regress/run_test.pl index 02cc8e648..0d67f85c9 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -111,12 +111,12 @@ if ( $OPT_EXTENSIONS ) $OPT_WITH_RASTER = 1; # implied (TODO: drop implication !) } +# Split-raster extension was introduced in PostGIS-3.0.0 sub has_split_raster_ext { my $fullver = shift; my @ver = split(/\./, $fullver); - return 0 if ( $ver[0] < 2 ); - return 0 if ( $ver[0] == 2 && $ver[1] < 5 ); + return 0 if ( $ver[0] < 3 ); return 1; } -- 2.40.0