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

This step was only there to test the script when we generated those, but
commit 8f113698b6 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
pull/57/head
Magnus Hagander 5 years ago
parent a378ba49a5
commit 1e12a495b4
  1. 2
      src/bin/pg_upgrade/test.sh
  2. 2
      src/tools/msvc/vcregress.pl

@ -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
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");

Loading…
Cancel
Save