diff options
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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]) |