Re: Upgrading database format on PostgreSQL 8.1 on FC6 - Mailing list pgsql-novice

From Frank Bax
Subject Re: Upgrading database format on PostgreSQL 8.1 on FC6
Date
Msg-id 48938C2E.3000700@sympatico.ca
Whole thread Raw
In response to Re: Upgrading database format on PostgreSQL 8.1 on FC6  (Arjun Datta <arjun@greatgulfhomes.com>)
List pgsql-novice
Arjun Datta wrote:
> But on the newer machine (I cannot verify if postgres has ever been run
> on it or if it did when last), even before I try to restore, I notice
> that on startup I get the following error.
>
> [root@devdb3 8.1]# service postgresql start
>
> An old version of the database format was found.
> You need to upgrade the data format before using PostgreSQL.
> See /usr/share/doc/postgresql-8.1.10/README.rpm-dist for more information.



If there is nothing in current pg databases you want to keep; then have
a look at initdb command; which will initialise your system for current
release installed on system.  Any existing data is wiped out.

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrading database format on PostgreSQL 8.1 on FC6
Next
From: Frank Bax
Date:
Subject: OIDS question