We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent93b6d78 commit06623dfCopy full SHA for 06623df
src/tools/msvc/vcregress.pl
@@ -242,7 +242,7 @@ sub upgradecheck
242
# Much of this comes from the pg_upgrade test.sh script,
243
# but it only covers the --install case, and not the case
244
# where the old and new source or bin dirs are different.
245
-# i.e. onlythethis version to this version check. That's
+# i.e. only this version to this version check. That's
246
# what pg_upgrade's "make check" does.
247
248
$ENV{PGPORT} ||= 50432;
@@ -273,6 +273,9 @@ sub upgradecheck
273
print"\nStopping old cluster\n\n";
274
system("pg_ctl -m fast stop") == 0orexit 1;
275
rename$data,"$data.old";
276
+# take a breather in case Windows hasn't quite got
277
+# the message about the directory moving
278
+sleep(5);
279
print"\nSetting up new cluster\n\n";
280
system("initdb") == 0orexit 1;
281
print"\nRunning pg_upgrade\n\n";