summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-12-18 18:51:43 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-12-18 18:51:43 +0100
commit6ec0a16928e45a91538dc7f11b3d0198137a71f1 (patch)
treeb1e0d964f0a6602f36a3e255bcf4eba54709fe85
parentcedcdd82b7cd87371e938ab1cfbbfdce8b9b637c (diff)
downloadpostgresql-setup-6ec0a16928e45a91538dc7f11b3d0198137a71f1.tar.gz
postgresql-setup-6ec0a16928e45a91538dc7f11b3d0198137a71f1.tar.xz
postgresql-setup-6ec0a16928e45a91538dc7f11b3d0198137a71f1.zip
configury: typo in PG version compare
* NEWS: Mention previous commit. * configure.ac: s/lt/le/.
-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])