Re: rename a cluster

From: "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: rename a cluster
Date: 2007-02-15 18:34:29
Message-ID: 45D4A7B5.3080204@mailnetwork.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

It comes under Server Startup:

http://www.postgresql.org/docs/8.2/static/server-start.html

Ray Stell wrote:
> 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.
>>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pedro noticioso 2007-02-15 19:03:04 Re: WAL files backup
Previous Message Ray Stell 2007-02-15 18:31:40 Re: rename a cluster