alecswan wrote:
The old one, which overwrites 8.x can be downloaded e.g. at
http://xarch.tu-graz.ac.at/publ/cygwin/release/postgresql/postgresql-7.4.5-1.tar.bz2
I am not sure what's the right way to install the tarball, so I just
unzipped it in the root folder. However, I am getting the following error
when running initdb:
$ initdb -D /var/db/psql-7.4.5/data/
The program
/usr/bin/postgres
needed by initdb does not belong to PostgreSQL version 7.4.5, or
there may be a configuration problem.
What am I doing wrong?
Always install with 'setup.exe'. Never "just unzip" a file if you don't
understand and/or aren't willing to endure the consequences. At this point,
I'd recommend removing the files you unzipped and then uninstalling V8.x via
'setup.exe' and installing the mentioned tarball via 'setup.exe'. I don't
know if this will resolve all your problems or not but it is a process that
will put you back into the realm of a supported installation.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/