Re: deleting db cluster

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Ulas Albayrak <ulas(dot)albayrak(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: deleting db cluster
Date: 2010-08-03 15:33:26
Message-ID: 1280849606.2025.0.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)albayrak(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message devman 2010-08-03 15:35:49 libpq logging redirection
Previous Message Peter C. Lai 2010-08-03 15:30:25 Re: Application user name attribute on connection pool