Thread: BUG #12904: Installation postgres fails when Windows user name contains spaces

BUG #12904: Installation postgres fails when Windows user name contains spaces

From
jurgen.soenen@gmail.com
Date:
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
On Thu, Mar 26, 2015 at 5:46 PM, <jurgen.soenen@gmail.com> wrote:

> 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
>

I would think that you faced the same issue as here, the installer using
the in-core install.bat to install the binaries:

http://www.postgresql.org/message-id/flat/CAB7nPqSoxVaOGw9t4NCGX3PJT4ruXstcVnh6RvZGa7w7eFU0HA@mail.gmail.com#CAB7nPqSoxVaOGw9t4NCGX3PJT4ruXstcVnh6RvZGa7w7eFU0HA@mail.gmail.com
Hopefully this will get a backpatch.
--
Michael