The following bug has been logged on the website:
Bug reference: 12904
Logged by: Jurgen Soenen
Email address: jurgen.soenen@gmail.com
PostgreSQL version: 9.1.1
Operating system: Windows 7 Professionel
Description:
Hello
It seems like it is not possible to install Postgres 9.1 or 9.4 on a windows
machine with a Windows administrator that has spaces in its names.
We have tried to install Postgres 9.1 and 9.4 on a Windows 7 Professionel
PC through the one-click installer and through the binary installation
(zip-file).
Both kept on failing.
The binary installation had problems to change permission on the data folder
and stopped on a permission denied exception on the data folder
The one-click installation couldn't start the server as the data folder
didn't contain the necessary files.
After some investigation, it seemed that the installation failed because we
were using a Windows user with spaces in its name.
Once we used a windows user without spaces in its name, everything worked
smoothly