Remove vacuumdb --analyze-in-stages from pg_upgrade tests
authorMagnus Hagander <magnus@hagander.net>
Wed, 11 Nov 2020 15:47:13 +0000 (16:47 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 11 Nov 2020 15:47:13 +0000 (16:47 +0100)
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

src/bin/pg_upgrade/test.sh
src/tools/msvc/vcregress.pl

index 551ac8a5c266938cbb73ec79cc2ac247e663d322..04aa7fd9f513ca668bccc602faed721150a95c04 100644 (file)
@@ -243,8 +243,6 @@ esac
 
 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_ctl -m fast stop
 
index 9799c5f54b870b00b885cc2fbd76f3935c2e12cc..451f608e63b0f1494db4686b4a501f4d576df347 100644 (file)
@@ -606,8 +606,6 @@ sub upgradecheck
    print "\nStarting new cluster\n\n";
    @args = ('pg_ctl', '-l', "$logdir/postmaster2.log", 'start');
    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;
    print "\nDumping new cluster\n\n";
    @args = ('pg_dumpall', '-f', "$tmp_root/dump2.sql");