Re: How to delete databases from PostGreSQL?

From: Thom Brown <thom(at)linux(dot)com>
To: Ruud van Dijk <ruud_v_dijk(at)hotmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to delete databases from PostGreSQL?
Date: 2011-01-04 14:25:30
Message-ID: AANLkTi=qWoTuVbd3EasR-Z3jyNJWeR7jCxqbK+BvYA+a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 4 January 2011 14:18, Ruud van Dijk <ruud_v_dijk(at)hotmail(dot)com> wrote:
> Hi there,
>
> I have around 10 databases in my PostGreSQL database, but i want to delete
> some of those im not using.
> I've looked, but i have no clue how to delete them?
>
> Can you give me any information or a guideline to make this possible for a
> computer noob.

Just as you use CREATE DATABASE to create it, you can use DROP
DATABASE to remove it.

Read the documentation page about DROP DATABASE:
http://www.postgresql.org/docs/current/static/sql-dropdatabase.html

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2011-01-04 14:28:37 Re: How to delete databases from PostGreSQL?
Previous Message Ruud van Dijk 2011-01-04 14:18:43 How to delete databases from PostGreSQL?