delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <44DEDA4C.4010807@x-ray.at> |
Date: | Sun, 13 Aug 2006 09:52:44 +0200 |
From: | Reini Urban <rurban AT x-ray DOT at> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Older postgresql versions [changed] |
References: | <5722793 DOT post AT talk DOT nabble DOT com> <44DA1EF8 DOT 7010408 AT x-ray DOT at> <44DAD730 DOT 4080207 AT x-ray DOT at> <5772970 DOT post AT talk DOT nabble DOT com> <44DDB954 DOT 4060305 AT x-ray DOT at> <5778314 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <5778314.post@talk.nabble.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
alecswan schrieb: >> 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? You haven't deinstalled postgresql-8.x yet. First deinstall postgresql and all other postgresql packages (-client, libpq4 the most important) via setup.exe You can only install one version so far. On the side-by-side installation I'm just working now. 1. uninstall 8.x via setup.exe 2. install the mess: tar xvfz -C / /usr/src/postgresql-7.4.5-1.tar.bz2 | \ tee /usr/src/postgresql-7.4.5-1.lst This should be enough then, but be sure to clean up the mess afterwards, because setup doesn't help you then. 3. read the two readme's (cygwin and default) 4. try it out. 5. uninstall the mess and wait for proper: cat /usr/src/postgresql-7.4.5-1.lst | xargs rm Note: 7.4 has a lot of shell scripts without .exe and 8.x has some binaries in /usr/sbin/. -- Reini Urban -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |