[postgis-tickets] r17814 - Restrict build for PostgreSQL > 9.6

Paul Ramsey pramsey at cleverelephant.ca
Tue Sep 17 10:16:17 PDT 2019


Author: pramsey
Date: 2019-09-17 10:16:17 -0700 (Tue, 17 Sep 2019)
New Revision: 17814

Modified:
   branches/2.3/NEWS
   branches/2.3/configure.ac
Log:
Restrict build for PostgreSQL > 9.6
Closes #4498


Modified: branches/2.3/NEWS
===================================================================
--- branches/2.3/NEWS	2019-09-17 14:36:06 UTC (rev 17813)
+++ branches/2.3/NEWS	2019-09-17 17:16:17 UTC (rev 17814)
@@ -8,6 +8,7 @@
   - #4494, Fix ST_Simplify output having an outdated bbox (Raúl Marín)
   - #4493, Fix ST_RemoveRepeatedPoints output having an outdated bbox (Raúl Marín)
   - #4495, Fix ST_SnapToGrid output having an outdated bbox (Raúl Marín)
+  - #4498, Restrict build for PgSQL > 9.6
 
 PostGIS 2.3.10
 2019/08/11

Modified: branches/2.3/configure.ac
===================================================================
--- branches/2.3/configure.ac	2019-09-17 14:36:06 UTC (rev 17813)
+++ branches/2.3/configure.ac	2019-09-17 17:16:17 UTC (rev 17814)
@@ -455,6 +455,11 @@
     AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.2])
   fi
 
+  dnl Ensure that we are using PostgreSQL <= 9.6
+  if test $POSTGIS_PGSQL_VERSION -gt 96; then
+    AC_MSG_ERROR([PostGIS 2.3 not compatible with PostgreSQL > 9.6])
+  fi
+
   HAVE_BRIN=no
   if test $POSTGIS_PGSQL_VERSION -gt 94; then
     HAVE_BRIN=yes



More information about the postgis-tickets mailing list