Discussion:
How to drop a database cluster?
(too old to reply)
Slobodan
2004-10-21 14:43:01 UTC
Permalink
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


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Robert Treat
2004-10-21 18:36:15 UTC
Permalink
Post by Slobodan
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


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Loading...