Andrew Dunstan <[EMAIL PROTECTED]> writes: > Peter Eisentraut wrote: >> creating directory pg-install/var/data ... initdb: failed
> I will check it out. I know I spent quite some time making sure this > worked, but I might have missed something obvious. I wonder if it is > platform specific? AFAICS mkdatadir() shouldn't consider subdir == NULL as a reason to fail rather than trying mkdir_p. Indeed, if anything the opposite: when subdir isn't NULL the immediately prior directory level should exist already. I concur with Peter's gripe that a perror() or two wouldn't hurt here. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])