BUG #5860: initdb failing with could not create directory "C:/Program Files ": File exists error - Mailing list pgsql-bugs

From Yuvachitra
Subject BUG #5860: initdb failing with could not create directory "C:/Program Files ": File exists error
Date
Msg-id 201102020610.p126Ap4n006061@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5860
Logged by:          Yuvachitra
Email address:      yuvachitra@gmail.com
PostgreSQL version: 8.3/ 9.0
Operating system:   Windows 2003
Description:        initdb failing with could not create directory
"C:/Program Files ": File exists error
Details:

Hi,

On executing the initdb.exe by passing the data folder location, i get an
error saying initdb: could not create directory "C:/Program Files": File
exists.

But as mentioned in
http://archives.postgresql.org/pgsql-bugs/2008-06/msg00169.php, the
workaround works fine.

Please let us know if this workaround works in all scenarios. Also, it would
be grateful if we get to know root cause of the issue.

Thanks
Yuva

pgsql-bugs by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Portable, simple means of determining distribution directory
Next
From: "Pankaj Singh"
Date:
Subject: BUG #5861: lo_import and lo_export methods not working from the client side if database is at remote