Re: Moving database cluster

Поиск
Список
Период
Сортировка
От Fernando Hevia
Тема Re: Moving database cluster
Дата
Msg-id 87B0B7A9F2E449F6A5D082D502F11447@iptel.com.ar
обсуждение исходный текст
Ответ на Re: Moving database cluster  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Moving database cluster
Список pgsql-general

> -----Mensaje original-----
> De: Guillaume Lelarge [mailto:guillaume@lelarge.info]
>
> Le 14/01/2010 21:40, Fernando Hevia a écrit :
> >
> > An Ubuntu install creates a postgres cluster automatically on
> > /var/lib/postgresql/8.4/main Whats the best procedure for
> moving this
> > cluster to an other location?
> > Should I just rerun initdb? What happens then with the
> default cluster
> > or how could I delete it?
> >
>
> If you don't have any data on it, the best way is to drop it
> with pg_dropcluster, and create a new one with pg_createcluster.
>
>

Sound advice. Thanks!!


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

Предыдущее
От: "Joshua J. Kugler"
Дата:
Сообщение: Re: Moving database cluster
Следующее
От: "Fernando Hevia"
Дата:
Сообщение: Re: Moving database cluster