Re: Upgrading to RH8.0 causes: "An old version of the

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Hans Deragon <hans(at)deragon(dot)biz>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Upgrading to RH8.0 causes: "An old version of the
Date: 2003-01-15 12:32:59
Message-ID: 1042633978.3919.12.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, 2003-01-14 at 23:21, Hans Deragon wrote:
> After upgrading to RH8.0, I get the following error message:
>
> An old version of the database format was found.
> You need to upgrade the data format before using PostgreSQL.
...
> I am not interested in recuperating the old data (anyway, the docs
> says I should use postgresql-dump, which does not exist anywhere on my
> system!). So how can I ask postgresql to delete the old database and
> restart fresh?

As PostgreSQL administrator:

Blow away the old database framework and all data:

rm -rf $PGDATA

Create a new database framework:

initdb

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For I know that my redeemer liveth, and that he shall
stand at the latter day upon the earth"
Job 19:25

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mike Grommet 2003-01-15 13:44:53 host security settings being ignored?
Previous Message Keith Keller 2003-01-15 06:31:14 Re: mod_perl/dbi/apache query will not finish