OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fbf4e0
)
Improve pg_upgrade X_OK comment.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 18 May 2011 16:25:34 +0000
(12:25 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 18 May 2011 16:25:34 +0000
(12:25 -0400)
contrib/pg_upgrade/exec.c
patch
|
blob
|
history
diff --git
a/contrib/pg_upgrade/exec.c
b/contrib/pg_upgrade/exec.c
index
ec2f944
..
7c69175
100644
(file)
--- a/
contrib/pg_upgrade/exec.c
+++ b/
contrib/pg_upgrade/exec.c
@@
-97,9
+97,9
@@
verify_directories(void)
if (access(".", R_OK | W_OK
#ifndef WIN32
/*
- * D
irectory 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.
+ * D
o a directory execute check only on Unix because execute permission
+ *
on NTFS means "can execute scripts", which we don't care about.
+ *
Also, X_OK is not defined in the Windows
API.
*/
| X_OK
#endif