deleting db cluster

Started by Ulas Albayrakover 15 years ago2 messagesgeneral
Jump to latest
#1Ulas Albayrak
ulas.albayrak@gmail.com

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?

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

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Ulas Albayrak (#1)
Re: deleting db cluster

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