提交 abece8af 编写于 作者: A Andrew Dunstan

Clean environment for pg_upgrade test.

This removes exisiting PG settings from the environment for
pg_upgrade tests, just like pg_regress does.
上级 65c3bf19
......@@ -58,6 +58,15 @@ PGDATA=$temp_root/data
export PGDATA
rm -rf "$PGDATA" "$PGDATA".old
unset PGDATABASE
unset PGUSER
unset PGSERVICE
unset PGSSLMODE
unset PGREQUIRESSL
unset PGCONNECT_TIMEOUT
unset PGHOST
unset PGHOSTADDR
logdir=$PWD/log
rm -rf "$logdir"
mkdir "$logdir"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册