Re: Upgrade to 7.1.2 problem - Mailing list pgsql-bugs

From Lamar Owen
Subject Re: Upgrade to 7.1.2 problem
Date
Msg-id 01071314195800.00944@lowen.wgcr.org
Whole thread Raw
In response to Upgrade to 7.1.2 problem  ("Kannan The Barbarian" <swamy3@lycos.com>)
List pgsql-bugs
On Wednesday 11 July 2001 13:57, Kannan The Barbarian wrote:
> i recently upgraded to postgresql-7.1.2 but when i start the service, i get
> the folllowing error message!

> An old version of the database format was found.\nYou need to upgrade the
> data format before using PostgreSQL.\nSee /
> usr/share/doc/postgresql-7.1.2/README.rpm-dist for more information.

> As far as i know the old databases have been upgraded! Whatsover, if there
> are any other databases in there and i dont want any of those older
> databases, what do i do!

Check to see where it thinks the old data is -- 'it' being the RPM init
script that is issuing that error message.

The two choices of a default RPM install are /var/lib/pgsql and
/var/lib/pgsql/data -- you need to remove the whole tree, leaving
/var/lib/pgsql/data and /var/lib/pgsql/backups left empty.

Now rerun the initscript, and it will happily create a new,empty, database
tree for you that you can start working with.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

pgsql-bugs by date:

Previous
From: "Alexey V. Neyman"
Date:
Subject: No subselects in constraint (bug?)
Next
From: The Hermit Hacker
Date:
Subject: Re: your web site register is broken, cannot download Win32 distribution needed