From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Ray Stell <stellr(at)cns(dot)vt(dot)edu>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: rename a cluster |
Date: | 2007-02-16 23:57:39 |
Message-ID: | 12948.1171670259@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Bruce Momjian <bruce(at)momjian(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Abu Mushayeed | 2007-02-17 00:07:56 | What is wrong ? |
Previous Message | Henry, Nigel, CYFD | 2007-02-16 23:44:46 | Re: Isolated databases or instances |