Skip site navigation (1) Skip section navigation (2)

Re: rename a cluster

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 (view raw or flat)
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

In response to

pgsql-admin by date

Next:From: Abu MushayeedDate: 2007-02-17 00:07:56
Subject: What is wrong ?
Previous:From: Henry, Nigel, CYFDDate: 2007-02-16 23:44:46
Subject: Re: Isolated databases or instances

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group