Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?

Поиск
Список
Период
Сортировка
От Carlos Mennens
Тема Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Дата
Msg-id AANLkTim8CUiUktQnW6zw9TwExG-eJdoMG5DiL3rw0kx-@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?  (Steve Clark <sclark@netwolves.com>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Aljoša Mohorović
Дата:
Сообщение: Re: postgres videos - copyright issues or something else?
Следующее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?