Commit 92ff9150 authored by Bruce Momjian's avatar Bruce Momjian

Improve pg_upgrade X_OK comment.

parent 6fbf4e0e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment