From: Robert Treat <xzilla@users.sourceforge.net>
To: Slobodan <slobodan@freemail.hu>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to drop a database cluster?
Date: 21 Oct 2004 14:36:15 -0400
Message-ID: <1098383775.15573.7.camel@camel> (raw)
In-Reply-To: <freemail.20040921164301.54619@fm5.freemail.hu>
References: <freemail.20040921164301.54619@fm5.freemail.hu>
On Thu, 2004-10-21 at 10:43, Slobodan wrote:
> Hi!
>
> I cannot find the way of dropping a database cluster in the
> documentation. Should I simply remove the directory associated with
> the cluster?
>
I take you don't want to use the DROP DATABASE command, but instead are
trying to drop all databases from a system? If so, remove whatever
directory PGDATA is set to and then run initdb on the new PGDATA
directory. Be aware that this is basically like starting from scratch,
you will lose all of your information.
Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: xzilla@users.sourceforge.net, slobodan@freemail.hu
Subject: Re: How to drop a database cluster?
In-Reply-To: <1098383775.15573.7.camel@camel>
References: <freemail.20040921164301.54619@fm5.freemail.hu> <1098383775.15573.7.camel@camel>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox