!20 fix issue about parse_upgrade_setup

* fix issue
This commit is contained in:
cuibb1 2020-06-23 13:04:54 +08:00 committed by 缪开波
parent 0d4e2f8bc1
commit fa83b21b70
2 changed files with 3 additions and 14 deletions

View File

@ -635,11 +635,6 @@ while true; do
shift 2
;;
--upgrade-ids)
parse_upgrade_setup help
exit 0
;;
--version)
print_version
exit 0
@ -662,13 +657,6 @@ test $parse_fail -ne 0 && die "can't parse arguments"
test "$option_mode" = none \
&& die "no mode specified, use --initdb or --upgrade, or --help"
if ! parse_upgrade_setup config "$option_upgradefrom"; then
if test upgrade = "$option_mode"; then
die $"bad --upgrade-from parameter '$option_upgradefrom'," \
$"try --upgrade-ids"
fi
fi
## GATHER THE SETUP FIRST ##
initdb_log="$POSTGRES_HOMEDIR/initdb_${option_service}.log"

View File

@ -430,8 +430,9 @@ find_lang_bins pltcl.lst pltcl
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
%changelog
* Mon May 18 2020 wangchen <wangchen137@huawei.com> - 10.5-16
- rebuild for postgresql
* Fri Jun 19 2020 cuibaobao <cuibaobao1@huawei.com> - 10.5-16
- Type: enhancement
- DESC: delete all about residual parse_upgrade_setup in postgresql-setup
* Wed May 6 2020 cuibaobao <cuibaobao1@huawei.com> - 10.5-15
- Type:cve