Re: deleting db cluster

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: deleting db cluster
Дата
Msg-id 1280849606.2025.0.camel@jd-desktop.iso-8859-1.charter.com
обсуждение исходный текст
Ответ на deleting db cluster  (Ulas Albayrak <ulas.albayrak@gmail.com>)
Список pgsql-general
On Tue, 2010-08-03 at 16:15 +0200, Ulas Albayrak wrote:
> Hi,
>
> I have a Linux/Debian machine running postgres 8.3 and I need to
> remove a database cluster that I created with the "initdb" command. Is
> it enough to just delete the folder in which the cluster resides on
> the filesystem, or does it require some additional actions?

If you remove the data directory (the folder you specifified with
initdb) then the database is gone.

JD

>
> Regards
> --
> Ulas Albayrak
> ulas.albayrak@gmail.com
>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


В списке pgsql-general по дате отправления:

Предыдущее
От: Timothy Garnett
Дата:
Сообщение: Re: When can postgresql use a partial (NOT NULL) index? Seems to depend on size of IN clause (even with enable seqscan = off)
Следующее
От: "J. Greg Davidson"
Дата:
Сообщение: Re: Danger of idiomatic plpgsql loop for merging data