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
6fbf4e0e
Commit
6fbf4e0e
authored
May 18, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pg_upgrade build problem on Windows when using X_OK access
permission check on the current directory.
parent
b3bc63ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
contrib/pg_upgrade/exec.c
contrib/pg_upgrade/exec.c
+10
-1
No files found.
contrib/pg_upgrade/exec.c
View file @
6fbf4e0e
...
...
@@ -94,7 +94,16 @@ void
verify_directories
(
void
)
{
if
(
access
(
"."
,
R_OK
|
W_OK
|
X_OK
)
!=
0
)
if
(
access
(
"."
,
R_OK
|
W_OK
#ifndef WIN32
/*
* Directory execute permission on NTFS means "can execute scripts",
* which we don't care about, so skip the check. Also, X_OK is not
* defined in the API.
*/
|
X_OK
#endif
)
!=
0
)
pg_log
(
PG_FATAL
,
"You must have read and write access in the current directory.
\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