Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id AC2BC9FBC71 for ; Fri, 16 Feb 2007 19:57:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 94305-03 for ; Fri, 16 Feb 2007 19:57:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5E68F9FBC48 for ; Fri, 16 Feb 2007 19:57:45 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l1GNvdb0012949; Fri, 16 Feb 2007 18:57:39 -0500 (EST) To: Bruce Momjian cc: Peter Eisentraut , Ray Stell , pgsql-admin@postgresql.org Subject: Re: rename a cluster In-reply-to: <200702162135.l1GLZek16563@momjian.us> References: <200702162135.l1GLZek16563@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 16 Feb 2007 16:35:40 -0500" Date: Fri, 16 Feb 2007 18:57:39 -0500 Message-ID: <12948.1171670259@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/251 X-Sequence-Number: 24716 Bruce Momjian 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