Re: Upgrade 7.2 to 7.3

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Upgrade 7.2 to 7.3
Дата
Msg-id 20030809153551.GE22927@wolff.to
обсуждение исходный текст
Ответ на Upgrade 7.2 to 7.3  (James Williams <jw11@iprimus.com.au>)
Список pgsql-novice
On Sat, Aug 09, 2003 at 23:00:19 +1000,
  James Williams <jw11@iprimus.com.au> wrote:
> A while ago, I played around a bit with PostgreSQL 7.2 and created a
> test database (think it was called mydb).
>
> Since then I've upgraded Linux and it also upgraded PostgreSQL to 7.3.
> Now I'm ready to start doing some proper stuff but I can't start the
> postmaster. It says I need to upgrade my database, but I don't care
> about the old database.
>
> Is there any way I can remove the old database and start working with 7.3?

You can delete the contents of the data directory and do an initdb.
You might want to save the config files before doing the delete so that
you can copy them back after the initdb. (Though I think the syntax
for the hba config file changed between 7.2 and 7.3, so it should need
to be tweaked in any case.)

В списке pgsql-novice по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Query about Boolean Data Type
Следующее
От: Peter Childs
Дата:
Сообщение: Re: Auto_Increment