Re: deleting db cluster - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: deleting db cluster
Date
Msg-id 1280849606.2025.0.camel@jd-desktop.iso-8859-1.charter.com
Whole thread Raw
In response to deleting db cluster  (Ulas Albayrak <ulas.albayrak@gmail.com>)
List pgsql-general
On Tue, 2010-08-03 at 16:15 +0200, Ulas Albayrak wrote:
> Hi,
>
> I have a Linux/Debian machine running postgres 8.3 and I need to
> remove a database cluster that I created with the "initdb" command. Is
> it enough to just delete the folder in which the cluster resides on
> the filesystem, or does it require some additional actions?

If you remove the data directory (the folder you specifified with
initdb) then the database is gone.

JD

>
> Regards
> --
> Ulas Albayrak
> ulas.albayrak@gmail.com
>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


pgsql-general by date:

Previous
From: Timothy Garnett
Date:
Subject: Re: When can postgresql use a partial (NOT NULL) index? Seems to depend on size of IN clause (even with enable seqscan = off)
Next
From: "J. Greg Davidson"
Date:
Subject: Re: Danger of idiomatic plpgsql loop for merging data