[postgis-tickets] r16829 - Tell run_test.pl that split-raster was introduced in PostGIS 3.0.0

Sandro Santilli strk at kbt.io
Sat Sep 22 03:37:45 PDT 2018


Author: strk
Date: 2018-09-22 03:37:45 -0700 (Sat, 22 Sep 2018)
New Revision: 16829

Modified:
   trunk/regress/run_test.pl
Log:
Tell run_test.pl that split-raster was introduced in PostGIS 3.0.0

Closes #4185

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2018-09-21 13:20:50 UTC (rev 16828)
+++ trunk/regress/run_test.pl	2018-09-22 10:37:45 UTC (rev 16829)
@@ -111,12 +111,12 @@
 	$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;
 }
 



More information about the postgis-tickets mailing list