Re: rename a cluster - Mailing list pgsql-admin

From Tom Lane
Subject Re: rename a cluster
Date
Msg-id 12948.1171670259@sss.pgh.pa.us
Whole thread Raw
In response to Re: rename a cluster  (Bruce Momjian <bruce@momjian.us>)
List 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 by date:

Previous
From: "Henry, Nigel, CYFD"
Date:
Subject: Re: Isolated databases or instances
Next
From: Abu Mushayeed
Date:
Subject: What is wrong ?