From 6ec0a16928e45a91538dc7f11b3d0198137a71f1 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 Dec 2014 18:51:43 +0100 Subject: configury: typo in PG version compare * NEWS: Mention previous commit. * configure.ac: s/lt/le/. --- NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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]) -- cgit