Re: 8.4 Data Not Compatible with 9.0.1 Upgrade? - Mailing list pgsql-general

From Bill Moran
Subject Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Date
Msg-id 20101101124518.967970a9.wmoran@potentialtech.com
Whole thread Raw
In response to 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Carlos Mennens <carlos.mennens@gmail.com>)
Responses Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Carlos Mennens <carlos.mennens@gmail.com>)
List pgsql-general
In response to Carlos Mennens <carlos.mennens@gmail.com>:

> I did an upgrade on my database server this past weekend and the
> database fails to start. I checked /var/log/postgresql and found the
> reason:
>
> [root@slave ~]# ps aux | grep postgres
> root      5189  0.0  0.0   8128   956 pts/0    S+   12:28   0:00 grep postgres
>
> [root@slave ~]# /etc/rc.d/postgresql start
> :: Starting PostgreSQL
>
>                   [BUSY] server starting
>
>
>                   [DONE]
> [root@slave ~]# ps aux | grep postgres
> root      5205  0.0  0.0   8128   960 pts/0    R+   12:28   0:00 grep postgres
>
> [root@slave ~]# tail -n 50 /var/log/postgresql.log
> FATAL:  database files are incompatible with server
> DETAIL:  The data directory was initialized by PostgreSQL version 8.4,
> which is not compatible with this version 9.0.1.
> FATAL:  database files are incompatible with server
> DETAIL:  The data directory was initialized by PostgreSQL version 8.4,
> which is not compatible with this version 9.0.1.
> FATAL:  database files are incompatible with server
> DETAIL:  The data directory was initialized by PostgreSQL version 8.4,
> which is not compatible with this version 9.0.1.
>
> Does anyone know if this is a issue with PostgreSQL or with the way
> Arch Linux packages the upgrade?

I can't speak for Arch Linux' upgrade setup, but going from 8.4 -> 9.0
requires that the data directory either be dumped/recreated, or ran
through the new upgrade process (which (as yet) I have no experience
with).

If the Arch Linux stuff doesn't do that automatically, then you'll have
to do it manually.

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

pgsql-general by date:

Previous
From: Carlos Mennens
Date:
Subject: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Next
From: Scott Marlowe
Date:
Subject: Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?