From: | Ray Stell <stellr(at)cns(dot)vt(dot)edu> |
---|---|
To: | "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: rename a cluster |
Date: | 2007-02-15 18:31:40 |
Message-ID: | 20070215183140.GA22753@cns.vt.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Many thx. It that in the doc?
On Thu, Feb 15, 2007 at 06:21:05PM +0000, Andy Shellam (Mailing Lists) wrote:
> The cluster's "name" is only the file-system's directory path.
>
> You can easily rename this directory, as long as you pass the relevant
> directory name to pg_ctl's -D parameter (which tells PostgreSQL which
> database "cluster" to use.)
>
> It goes without saying, don't move the directory while PostgreSQL is
> running.
>
>
> Ray Stell wrote:
> >On Thu, Feb 15, 2007 at 06:36:23PM +0100, Peter Eisentraut wrote:
> >
> >>Ray Stell wrote:
> >>
> >>>Is there a method to rename a cluster?
> >>>
> >>Clusters don't have names in the first place.
> >>
> >
> >So, from 16.2 "Creating a Database Cluster"
> >
> >"...you must initialize a database storage area on disk.
> >We call this a database cluster."
> >
> >then, directory = cluster, no?
> >
> >What I was trying to get at is, is mv of the dir ok or
> >is there something else that needs to be considered? Thx.
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 2: Don't 'kill -9' the postmaster
> >
> >!DSPAM:37,45d4a11118511420134615!
> >
> >
> >
>
>
> --
> Andy Shellam
> NetServe Support Team
>
> the Mail Network
> "an alternative in a standardised world"
>
> p: +44 (0) 121 288 0832/0839
> m: +44 (0) 7818 000834
>
--
You have no chance to survive make your time.
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Shellam (Mailing Lists) | 2007-02-15 18:34:29 | Re: rename a cluster |
Previous Message | Peter Eisentraut | 2007-02-15 18:31:25 | Re: rename a cluster |