From 46fc5ea62b987d109d2d9359a2e0f95bd02cba44 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 23 Mar 2017 15:31:17 +0100 Subject: [PATCH] postgresql: require version 9.5 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 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 7f73525e8..4f0e3c08c 100644 --- 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) diff --git a/configure.ac b/configure.ac index 273301f1b..a7b90597a 100644 --- a/configure.ac +++ b/configure.ac @@ -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], -- 2.25.1