summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--configure.ac2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 635f50c..277a7b2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,12 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+New in 3.0 version
+
+* Use 'pg_upgrade --username' instead of 'pg_upgrade --user' for
+ PostgreSQL >= 9.4.
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
New in 2.0 version
* With configre --with-sysvinit we are able to install sysvinit
diff --git a/configure.ac b/configure.ac
index 6b2cfb0..298af77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,7 +106,7 @@ if test -z "$PGVERSION" -a -z "$PGMAJORVERSION"; then
PGMAJORVERSION=${PGVERSION%%.[[0-9]]}
fi
-AX_COMPARE_VERSION([9.4], [lt], [$PGVERSION],
+AX_COMPARE_VERSION([9.4], [le], [$PGVERSION],
[PG_UPGRADE_BIN_USER_OPT="--username"],
[PG_UPGRADE_BIN_USER_OPT="--user"])
AC_SUBST([PG_UPGRADE_BIN_USER_OPT])