Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Date: 2010-11-01 16:47:09
Message-ID: AANLkTinWxgkSSqiEGgSQH5isGa9_BP0U8vYDy1DJJvUp@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 1, 2010 at 10:36 AM, Carlos Mennens
<carlos(dot)mennens(at)gmail(dot)com> wrote:
> 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(at)slave ~]# ps aux | grep postgres
> root      5189  0.0  0.0   8128   956 pts/0    S+   12:28   0:00 grep postgres
>
> [root(at)slave ~]# /etc/rc.d/postgresql start
> :: Starting PostgreSQL
>
>                  [BUSY] server starting
>
>
>                  [DONE]
> [root(at)slave ~]# ps aux | grep postgres
> root      5205  0.0  0.0   8128   960 pts/0    R+   12:28   0:00 grep postgres
>
> [root(at)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?

It's always been like that. There should be a pg_migrator script or
something like that to convert the 8.4 db to 9.0

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Mennens 2010-11-01 16:47:46 Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Previous Message Bill Moran 2010-11-01 16:45:18 Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?