Re: solution to Delete databases and tables

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Cima <ruel(dot)cima(at)facinf(dot)uho(dot)edu(dot)cu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: solution to Delete databases and tables
Date: 2005-03-23 13:44:10
Message-ID: 20050323134410.GA42965@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, Mar 23, 2005 at 03:41:37AM -0500, Cima wrote:

> the folowing command did the trick: createdb -T template0 dbname
>
> this should be executed .../pgsql/createdb -T template0 dbname.
>
> now my databases are clean and empty, the old table no longer appear.

You might want to consider cleaning up template1 so you don't have
to specify template0 every time you create a new database. In
general, you shouldn't be doing any work in template1 since it's
the default template database.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jon Allen 2005-03-23 18:41:21 8.0 installs ok, but then...
Previous Message Gordon Haverland 2005-03-23 13:42:39 Re: pgsql.so