Re: rename a cluster

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rename a cluster
Дата
Msg-id 12948.1171670259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: rename a cluster  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-admin
Bruce Momjian <bruce@momjian.us> writes:
> Peter Eisentraut wrote:
>> Renaming the directory is OK.  Just make sure your init script or
>> whatever finds it.

> Oh, and make sure the postmaster isn't running when you do the rename.

While that's surely good practice, I don't think it's actually critical
since 8.1 or whenever we switched the code over to
all-relative-pathnames.  Part of the point of that change was to make
sure that a DBA couldn't accidentally corrupt a database by renaming it
while live.

            regards, tom lane

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

Предыдущее
От: "Henry, Nigel, CYFD"
Дата:
Сообщение: Re: Isolated databases or instances
Следующее
От: Abu Mushayeed
Дата:
Сообщение: What is wrong ?