aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-05-18 12:25:34 -0400
committerBruce Momjian <bruce@momjian.us>2011-05-18 12:25:34 -0400
commit92ff91501846bd0343eea726d9ca83464cda07af (patch)
tree69cdd160f5621fa1b61e7a95940411521abbbc23
parent6fbf4e0e7c0839c33ed2d63f3c64abdc049f6d1b (diff)
downloadpostgresql-92ff91501846bd0343eea726d9ca83464cda07af.tar.gz
postgresql-92ff91501846bd0343eea726d9ca83464cda07af.zip
Improve pg_upgrade X_OK comment.
-rw-r--r--contrib/pg_upgrade/exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c
index ec2f94436bf..7c691750e13 100644
--- 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
/*
- * 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.
+ * Do 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