BUG #3274: Failed to run initdb
The following bug has been logged online:
Bug reference: 3274
Logged by: Alan Mercer
Email address: madscientist@xspmail.com
PostgreSQL version: 8.2
Operating system: Windows Vista
Description: Failed to run initdb
Details:
I was trying a fairly vanilla installation on Windows Vista, and received
the following error:
Failed to run initdb: 1!
In the logfile, the description was:
The program "postgres" is needed by initdb but was not found in the
same directory as "C:/Program Files/PostgreSQL/8.2/bin/initdb".
Check your installation.
There is a file named postgres.exe in the specified directory. Is this a
Vista issue (although it doesn't appear to be) or anything else previously
reported?
Please let me know if you need additional information. Thank you very
much.
Dr. Alan Mercer
Alan Mercer wrote:
The following bug has been logged online:
Bug reference: 3274
Logged by: Alan Mercer
Email address: madscientist@xspmail.com
PostgreSQL version: 8.2
Operating system: Windows Vista
Description: Failed to run initdb
Details:I was trying a fairly vanilla installation on Windows Vista, and received
the following error:Failed to run initdb: 1!
In the logfile, the description was:
The program "postgres" is needed by initdb but was not found in the
same directory as "C:/Program Files/PostgreSQL/8.2/bin/initdb".
Check your installation.There is a file named postgres.exe in the specified directory. Is this a
Vista issue (although it doesn't appear to be) or anything else previously
reported?Please let me know if you need additional information. Thank you very
much.
Yeah, there are known problems with the 8.2 installer on Vista. Note
that PostgreSQL itself works fine on Vista, but you can't run initdb
from within the installer. Your workaround is to install without initdb
and then run initdb manually later. This will be correctly fixed in 8.3.
//Magnus