Commit abece8af authored by Andrew Dunstan's avatar 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.
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment