pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to drop a database cluster?
2+ messages / 2 participants
[nested] [flat]

* How to drop a database cluster?
@ 2004-10-21 14:43 Slobodan <slobodan@freemail.hu>
  2004-10-21 18:36 ` Re: How to drop a database cluster? Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Slobodan @ 2004-10-21 14:43 UTC (permalink / raw)
  To: pgsql-admin

Hi!

I cannot find the way of dropping a database cluster in the 
documentation. Should I simply remove the directory associated with 
the cluster?

Slobodan




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to drop a database cluster?
  2004-10-21 14:43 How to drop a database cluster? Slobodan <slobodan@freemail.hu>
@ 2004-10-21 18:36 ` Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Treat @ 2004-10-21 18:36 UTC (permalink / raw)
  To: Slobodan <slobodan@freemail.hu>; +Cc: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-10-21 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 14:43 How to drop a database cluster? Slobodan <slobodan@freemail.hu>
2004-10-21 18:36 ` Robert Treat <xzilla@users.sourceforge.net>

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