Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
06623df6
Commit
06623df6
authored
Oct 02, 2012
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow a few seconds for Windows to catch up with a directory rename when checking pg_upgrade.
parent
93b6d78c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/tools/msvc/vcregress.pl
src/tools/msvc/vcregress.pl
+4
-1
No files found.
src/tools/msvc/vcregress.pl
View file @
06623df6
...
...
@@ -242,7 +242,7 @@ sub upgradecheck
# Much of this comes from the pg_upgrade test.sh script,
# but it only covers the --install case, and not the case
# where the old and new source or bin dirs are different.
# i.e. only th
e th
is version to this version check. That's
# i.e. only this version to this version check. That's
# what pg_upgrade's "make check" does.
$ENV
{
PGPORT
}
||=
50432
;
...
...
@@ -273,6 +273,9 @@ sub upgradecheck
print
"
\n
Stopping old cluster
\n\n
";
system
("
pg_ctl -m fast stop
")
==
0
or
exit
1
;
rename
$data
,
"
$data
.old
";
# take a breather in case Windows hasn't quite got
# the message about the directory moving
sleep
(
5
);
print
"
\n
Setting up new cluster
\n\n
";
system
("
initdb
")
==
0
or
exit
1
;
print
"
\n
Running pg_upgrade
\n\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment