[postgis-tickets] r16539 - Drop support in configure for PostgreSQL < 9.4 and GEOS < 3.5

Regina Obe lr at pcorp.us
Mon Apr 16 12:54:21 PDT 2018


Author: robe
Date: 2018-04-16 00:54:21 -0700 (Mon, 16 Apr 2018)
New Revision: 16539

Modified:
   trunk/NEWS
   trunk/README.postgis
   trunk/configure.ac
   trunk/doc/installation.xml
   trunk/doc/postgis.xml
Log:
Drop support in configure for PostgreSQL < 9.4 and GEOS < 3.5
References #4096

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2018-04-11 21:02:41 UTC (rev 16538)
+++ trunk/NEWS	2018-04-16 07:54:21 UTC (rev 16539)
@@ -20,6 +20,7 @@
   - #3893, raster support functions can only be loaded in the same schema
            with core PostGIS functions.
   - #4035, remove dummy pgis_abs type from aggregate/collect routines.
+  - #4069, drop support for GEOS < 3.5 and PostgreSQL < 9.4
 
 * Enhancements and Fixes*
   - #3944, Update to EPSG register v9.2 (Even Rouault)
@@ -54,7 +55,7 @@
   - #4038, ST_Subdivide now selects pivot for geometry split that reuses input
            vertices. ST_ClipByBox2D is stubbed with ST_Intersection because of
            robustness issues. (Darafei Praliaskouski)
-  - #4025, #4032 Fixed precision issue in ST_ClosestPointOfApproach, 
+  - #4025, #4032 Fixed precision issue in ST_ClosestPointOfApproach,
            ST_DistanceCPA, and ST_CPAWithin (Paul Ramsey, Darafei Praliaskouski)
 
 

Modified: trunk/README.postgis
===================================================================
--- trunk/README.postgis	2018-04-11 21:02:41 UTC (rev 16538)
+++ trunk/README.postgis	2018-04-16 07:54:21 UTC (rev 16539)
@@ -31,7 +31,7 @@
 REQUIREMENTS
 ------------
 
-PostGIS is compatible with PostgreSQL 9.6 and above.
+PostGIS is compatible with PostgreSQL 9.4 and above.
 
 You *must* have the full PostgreSQL - including server headers - installed for
 this to work.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2018-04-11 21:02:41 UTC (rev 16538)
+++ trunk/configure.ac	2018-04-16 07:54:21 UTC (rev 16539)
@@ -457,15 +457,12 @@
   PGSQL_SHAREDIR=`"$PG_CONFIG" --sharedir`
 
   AC_MSG_RESULT([checking PostgreSQL version... $PGSQL_FULL_VERSION])
-  dnl Ensure that we are using PostgreSQL >= 9.3
-  if test $POSTGIS_PGSQL_VERSION -lt 93; then
-    AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.3])
+  dnl Ensure that we are using PostgreSQL >= 9.4
+  if test $POSTGIS_PGSQL_VERSION -lt 94; then
+    AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.4])
   fi
 
-  HAVE_BRIN=no
-  if test $POSTGIS_PGSQL_VERSION -gt 94; then
-    HAVE_BRIN=yes
-  fi
+  HAVE_BRIN=yes
 
   dnl Note: We don't need the server-side LDFLAGS or CPPFLAGS because we get these from PGXS
 
@@ -680,10 +677,10 @@
 GEOS_NUMERIC_MINOR_VERSION=`printf "%02d" $GEOS_MINOR_VERSION`
 GEOS_NUMERIC_VERSION="$GEOS_MAJOR_VERSION$GEOS_NUMERIC_MINOR_VERSION$GEOS_NUMERIC_PATCH_VERSION"
 
-dnl Ensure that we are using GEOS >= 3.4.0
+dnl Ensure that we are using GEOS >= 3.5.0
 AC_MSG_RESULT([checking GEOS version... $GEOS_FULL_VERSION])
-if test ! "$GEOS_NUMERIC_VERSION" -ge 30400; then
-	AC_MSG_ERROR([PostGIS requires GEOS >= 3.4.0])
+if test ! "$GEOS_NUMERIC_VERSION" -ge 30500; then
+	AC_MSG_ERROR([PostGIS requires GEOS >= 3.5.0])
 fi
 
 dnl Extract the linker and include flags

Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml	2018-04-11 21:02:41 UTC (rev 16538)
+++ trunk/doc/installation.xml	2018-04-16 07:54:21 UTC (rev 16539)
@@ -73,7 +73,7 @@
 	<note><para>If you are on windows, do not quote the driver list</para></note>
 
 	<para>Setting environment variables varies depending on OS.  For PostgreSQL installed on Ubuntu or Debian via apt-postgresql, the preferred way is to
-	edit <filename>/etc/postgresql/<replaceable>9.3</replaceable>/<replaceable>main</replaceable>/environment</filename> where 9.3 refers to version of PostgreSQL and main refers to the cluster.</para>
+	edit <filename>/etc/postgresql/<replaceable>10</replaceable>/<replaceable>main</replaceable>/environment</filename> where 9.3 refers to version of PostgreSQL and main refers to the cluster.</para>
 
 	<para>On windows, if you are running as a service, you can set via System variables which for Windows 7 you can get to by right-clicking on Computer->Properties Advanced System Settings or in explorer navigating to <varname>Control Panel\All Control Panel Items\System</varname>.
 	Then clicking <emphasis>Advanced System Settings ->Advanced->Environment Variables</emphasis> and adding new system variables.</para>
@@ -127,7 +127,7 @@
 
 	  <listitem>
 		<para>
-		  Proj4 reprojection library, version 4.6.0 or greater. Proj4 4.9 or above is needed to take advantage of improved geodetic.
+		  Proj4 reprojection library, version 4.9.0 or greater. Proj4 4.9 or above is needed to take advantage of improved geodetic.
 			The Proj4 library is used to provide coordinate reprojection support within
 		  PostGIS. Proj4 is available for download from
 		  <ulink url="http://trac.osgeo.org/proj/">
@@ -139,7 +139,7 @@
 
 	  <listitem>
 		<para>
-		  GEOS geometry library, version 3.4 or greater, but GEOS 3.7+ is recommended to take full advantage of all the new functions and features.  You should have at least GEOS 3.5,
+		  GEOS geometry library, version 3.5 or greater, but GEOS 3.7+ is recommended to take full advantage of all the new functions and features.  You should have at least GEOS 3.5,
 			without which you will be missing some major enhancements such as <xref linkend="ST_ClipByBox2D" /> and <xref linkend="ST_Subdivide" />. GEOS is available for download from
 		  <ulink url="http://trac.osgeo.org/geos/">
 			http://trac.osgeo.org/geos/

Modified: trunk/doc/postgis.xml
===================================================================
--- trunk/doc/postgis.xml	2018-04-11 21:02:41 UTC (rev 16538)
+++ trunk/doc/postgis.xml	2018-04-16 07:54:21 UTC (rev 16539)
@@ -4,7 +4,7 @@
 
 <!-- This value is automatically generated by the Makefile -->
 <!ENTITY last_release_version "@@LAST_RELEASE_VERSION@@">
-<!ENTITY last_minor_version "2.3">
+<!ENTITY last_minor_version "2.4">
 
 <!-- ONCE Tagged, this need to change to http://download.osgeo.org/postgis/source/postgis-@@LAST_RELEASE_VERSION@@.tar.gz -->
 <!-- In dev should be, this need to change to http://postgis.net/stuff/postgis-@@LAST_RELEASE_VERSION@@.tar.gz -->



More information about the postgis-tickets mailing list