Commit 1e12a495 authored by Magnus Hagander's avatar Magnus Hagander

Remove vacuumdb --analyze-in-stages from pg_upgrade tests

This step was only there to test the script when we generated those, but
commit 8f113698 removed those scripts, so it's not needed anymore.

Reported-By: Peter Eisentraut
Discussion: https://postgr.es/m/ea403f46-2b33-a7de-618e-9cab35a698c8@enterprisedb.com
parent a378ba49
...@@ -243,8 +243,6 @@ esac ...@@ -243,8 +243,6 @@ esac
pg_ctl start -l "$logdir/postmaster2.log" -o "$POSTMASTER_OPTS" -w pg_ctl start -l "$logdir/postmaster2.log" -o "$POSTMASTER_OPTS" -w
vacuumdb --all --analyze-in-stages
pg_dumpall --no-sync -f "$temp_root"/dump2.sql || pg_dumpall2_status=$? pg_dumpall --no-sync -f "$temp_root"/dump2.sql || pg_dumpall2_status=$?
pg_ctl -m fast stop pg_ctl -m fast stop
......
...@@ -606,8 +606,6 @@ sub upgradecheck ...@@ -606,8 +606,6 @@ sub upgradecheck
print "\nStarting new cluster\n\n"; print "\nStarting new cluster\n\n";
@args = ('pg_ctl', '-l', "$logdir/postmaster2.log", 'start'); @args = ('pg_ctl', '-l', "$logdir/postmaster2.log", 'start');
system(@args) == 0 or exit 1; system(@args) == 0 or exit 1;
print "\nSetting up stats on new cluster\n\n";
@args = ('vacuumdb', '--all', '--analyze-in-stages');
system(@args) == 0 or exit 1; system(@args) == 0 or exit 1;
print "\nDumping new cluster\n\n"; print "\nDumping new cluster\n\n";
@args = ('pg_dumpall', '-f', "$tmp_root/dump2.sql"); @args = ('pg_dumpall', '-f', "$tmp_root/dump2.sql");
......
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