How to drop a database cluster?

Поиск
Список
Период
Сортировка
Искать

How to drop a database cluster?

От:
Slobodan <slobodan@freemail.hu>
Дата:
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

Re: How to drop a database cluster?

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
drop database dbname;

if you actually want to remove the entire database directory, then yes 
you can delete it but you can never get it back.

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?
>
>Slobodan
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>
>  
>

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561

FAQ