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

From Carlos Mennens
Subject Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Date
Msg-id AANLkTim8CUiUktQnW6zw9TwExG-eJdoMG5DiL3rw0kx-@mail.gmail.com
Whole thread Raw
In response to Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Steve Clark <sclark@netwolves.com>)
Responses Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Leif Biberg Kristensen <leif@solumslekt.org>)
Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Thomas Kellerer <spam_eater@gmx.net>)
Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
On Tue, Nov 2, 2010 at 10:53 AM, Steve Clark <sclark@netwolves.com> wrote:
> mv /var/lib/postgres/data  /var/lib/postgres/data.old

Before I move or rename '/var/lib/postgres/data', what version of
PostgreSQL should I be at? 8.4 or 9.0?

> You will then have to do an initdb to create the basic 9.x databases.
> You can then use psql or pg_restore depending on how you dumped
> your data to restore your databases.

I simply ran the following command:

/usr/bin/pg_dump finance > finance.sql

> With fedora you use either:
> /etc/init.d/postgresql initdb
> or
> service postgresql initdb
> to initialize the 9.x database system.

Sadly that command didn't pan out for Arch Linux:

# /etc/rc.d/postgresql initdb
usage: /etc/rc.d/postgresql {start|stop|restart}

pgsql-general by date:

Previous
From: Aljoša Mohorović
Date:
Subject: Re: postgres videos - copyright issues or something else?
Next
From: Leif Biberg Kristensen
Date:
Subject: Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?