Re: safelly erasing dirs/files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joao Ferreira gmail <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: safelly erasing dirs/files
Date: 2009-11-14 19:34:16
Message-ID: 17217.1258227256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joao Ferreira gmail <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com> writes:
> How can I safelly erase (with rm command in Linux) files or dirs
> concerning a specific database ?

Don't even think about it.

> assuming I whish to elimiante data belonging to database A but I do not
> whish to disturb or cause any injury to database B

DROP DATABASE A;

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2009-11-14 19:35:21 Re: safelly erasing dirs/files
Previous Message A. Kretschmer 2009-11-14 19:33:33 Re: safelly erasing dirs/files