mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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
This commit is contained in:
@ -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");
|
||||||
|
Reference in New Issue
Block a user