On 29/09/2010 6:16 PM, donovansc(at)yahoo(dot)com wrote:
> The following bug has been logged online:
> Bug reference: 5683
> Logged by:
> Email address: donovansc(at)yahoo(dot)com
> PostgreSQL version: 9.0.0
> Operating system: Windows7 x64
> Description: Service path incorrectly configured
> The windows service for starting the database has an incorrectly configured
> execution path.
> By default, it is:
> C:/Program Files/PostgreSQL/9.0/bin/pg_ctl.exe runservice -N
> "postgresql-x64-9.0" -D "C:/Program Files/PostgreSQL/9.0/data" -w
> However, / is not valid for Windows. It should be:
How odd. Windows is usually perfectly happy with "/" as a command
separator. About the only time it usually objects is when executables
try to treat "/" as a command-line switch, something that's up to each
Here, I can run "Start->Run", paste in "C:/Program
Files/PostgreSQL/9.0/bin/" and Explorer opens the correct directory. I
can invoke the edb stackbuilder with:
from start->run or via cmd.exe. No problems. (Some executables can't be
run unless you "cd" to their directory first, because they need the
local directory in the library search path, which is why I didn't use
psql as an example).
> C:\Program Files\PostgreSQL\9.0\bin\pg_ctl.exe runservice -N
> "postgresql-x64-9.0" -D "C:\Program Files\PostgreSQL\9.0\data" -w
> After altering this value in the registry at:
> I am now able to start/stop the service normally.
So all you did was reverse the slashes?
Weird. My image path on win7 32bit is:
C:/Program Files/PostgreSQL/9.0/bin/pg_ctl.exe runservice -N
"postgresql-9.0" -D "C:/Program Files/PostgreSQL/9.0/data" -w
and it launches quite happily.
It'd be really helpful if you could provide the contents of the Windows
error log from when you attempted to start the service before making the
change. You can get to the Event Viewer in the Start menu on Win7.
Tech-related writing at http://soapyfrogs.blogspot.com/
In response to
pgsql-bugs by date
|Next:||From: Craig Ringer||Date: 2010-09-30 14:08:27|
|Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)|
|Previous:||From: Dave Page||Date: 2010-09-30 08:07:06|
|Subject: Re: BUG #5685: Installer Error|