Thread: BUG #8050: Need quotes around service exe (imagepath registry key)

BUG #8050: Need quotes around service exe (imagepath registry key)

From
mr_gapearce@yahoo.com
Date:
The following bug has been logged on the website:

Bug reference:      8050
Logged by:          greg pearce
Email address:      mr_gapearce@yahoo.com
PostgreSQL version: 9.1.2
Operating system:   windows 7 x64
Description:        =


The service executable name should be surrounded with double quotes after
installation of the service.  If a user installs using the default file
location (C:\program files\blah blah"),  has a folder or file on root of C:
called "Program" - postgresql will not start unless there are quotes around
the path to the exe.

Re: BUG #8050: Need quotes around service exe (imagepath registry key)

From
Amit Kapila
Date:
On Tuesday, April 09, 2013 9:33 PM greg pearce wrote:
> The following bug has been logged on the website:
>=20
> Bug reference:      8050
> Logged by:          greg pearce
> Email address:      mr_gapearce@yahoo.com
> PostgreSQL version: 9.1.2
> Operating system:   windows 7 x64
> Description:
>=20
> The service executable name should be surrounded with double quotes
> after
> installation of the service.  If a user installs using the default =
file
> location (C:\program files\blah blah"),  has a folder or file on root
> of C:
> called "Program" - postgresql will not start unless there are quotes
> around
> the path to the exe.

When there is a space in folder name, it will treat it as a separate =
argument, so you need to use quotes.
Other way could be use quotes just around name which has space.
Example - c:\gregpearce\\"blah blah\"

Check on net how to open filename having space.

With Regards,
Amit Kapila.