Re: BUG #1647: shows version 7.1, doesnt create tablespaces etc. - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #1647: shows version 7.1, doesnt create tablespaces etc.
Date
Msg-id 20050505142730.GA38287@winnie.fuhr.org
Whole thread Raw
In response to BUG #1647: shows version 7.1, doesnt create tablespaces etc.  ("Dirk Bade" <dbade@softdecc.com>)
List pgsql-bugs
On Wed, May 04, 2005 at 05:21:13PM +0100, Dirk Bade wrote:
>
> postgresql-8.0.1.tar.gz installs fine and tests run ok. But after initdb
> PG_VERSION shows 7.1 and simple commands like CREATE TABLESPACE or ALTER
> TABLE return errors. What's wrong ?

It sounds like you've installed 8.0.1 but are running commands and
the backend from 7.1, which presumably exist from a previous install.
Might 7.1's commands be in your PATH ahead of the 8.0.1 commands?
Where were the 8.0.1 files installed?  What do the following commands
show?

which initdb
initdb --version

When you connect to the database, what does "SELECT version()" show?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1649: Date calculation year off-by-one error
Next
From: Tom Lane
Date:
Subject: Re: BUG #1647: shows version 7.1, doesnt create tablespaces etc.