postgresql: require version 9.5
authorDaniel Golle <daniel@makrotopia.org>
Thu, 23 Mar 2017 14:31:17 +0000 (15:31 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 23 Mar 2017 14:31:17 +0000 (15:31 +0100)
CREATE INDEX IF NOT EXISTS was added at version 9.5 (rather than 9.6)
see also https://www.postgresql.org/docs/9.5/static/sql-createindex.html

README
configure.ac

diff --git a/README b/README
index 7f73525e890912d253be3b901b842d870e3b86df..4f0e3c08ca28c66cc7d4cacdc6aa73d1fd8ba087 100644 (file)
--- a/README
+++ b/README
@@ -42,7 +42,7 @@ These are the direct dependencies for running GNUnet:
 - libltdl       >= 2.2 (part of GNU libtool)
 - sqlite        >= 3.8 (default database, required)
 - mysql         >= 5.1 (alternative to sqlite)
-- postgres      >= 9.6 (alternative to sqlite)
+- postgres      >= 9.5 (alternative to sqlite)
 - libopus       >= 1.0.1 (optional for experimental conversation tool)
 - libpulse      >= 2.0 (optional for experimental conversation tool)
 - libogg        >= 1.3.0 (optional for experimental conversation tool)
index 273301f1b69874ead1e4c0c33c99f8475295480b..a7b90597add66c1860285122a469118225decb38 100644 (file)
@@ -818,7 +818,7 @@ CPPFLAGS=$SAVE_CPPFLAGS
 postgres=false
 # even running the check for postgres breaks emscripten ...
 if test "$taler_only" != yes; then
-  AX_LIB_POSTGRESQL([9.6])
+  AX_LIB_POSTGRESQL([9.5])
   if test "$found_postgresql" = "yes"; then
     CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
     AC_CHECK_HEADERS([libpq-fe.h],