upgrade-test-vacuumdb.patch
text/x-diff
Filename: upgrade-test-vacuumdb.patch
Type: text/x-diff
Part: 0
Message:
Re: pg_upgrade analyze script
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/bin/pg_upgrade/test.sh | 0 | 2 |
| src/tools/msvc/vcregress.pl | 0 | 3 |
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh
index 551ac8a5c2..04aa7fd9f5 100644
--- a/src/bin/pg_upgrade/test.sh
+++ b/src/bin/pg_upgrade/test.sh
@@ -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
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 9799c5f54b..266098e193 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -606,9 +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");
system(@args) == 0 or exit 1;