File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ sub upgradecheck
242
242
# Much of this comes from the pg_upgrade test.sh script,
243
243
# but it only covers the --install case, and not the case
244
244
# where the old and new source or bin dirs are different.
245
- # i.e. only the this version to this version check. That's
245
+ # i.e. only this version to this version check. That's
246
246
# what pg_upgrade's "make check" does.
247
247
248
248
$ENV {PGPORT } ||= 50432;
@@ -273,6 +273,9 @@ sub upgradecheck
273
273
print " \n Stopping old cluster\n\n " ;
274
274
system (" pg_ctl -m fast stop" ) == 0 or exit 1;
275
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);
276
279
print " \n Setting up new cluster\n\n " ;
277
280
system (" initdb" ) == 0 or exit 1;
278
281
print " \n Running pg_upgrade\n\n " ;
You can’t perform that action at this time.
0 commit comments