75 if (
stat(dataDir, &statBuf) == -1)
78 #if !defined(WIN32) && !defined(__CYGWIN__)
void SetDataDirectoryCreatePerm(int dataDirMode)
bool GetDataDirectoryCreatePerm(const char *dataDir)
#define PG_FILE_MODE_GROUP
#define PG_FILE_MODE_OWNER
#define PG_MODE_MASK_OWNER
#define PG_DIR_MODE_OWNER
#define PG_DIR_MODE_GROUP
#define PG_MODE_MASK_GROUP