From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Ray Stell <stellr@cns.vt.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: rename a cluster
Date: Fri, 16 Feb 2007 18:57:39 -0500
Message-ID: <12948.1171670259@sss.pgh.pa.us> (raw)
In-Reply-To: <200702162135.l1GLZek16563@momjian.us>
References: <200702162135.l1GLZek16563@momjian.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, peter_e@gmx.net, stellr@cns.vt.edu
Subject: Re: rename a cluster
In-Reply-To: <12948.1171670259@sss.pgh.pa.us>
References: <200702162135.l1GLZek16563@momjian.us> <12948.1171670259@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox