Re: drop database / create database / data still here ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mitch Collinsworth <mitch(at)ccmr(dot)cornell(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: drop database / create database / data still here ?
Date: 2010-04-20 15:28:53
Message-ID: 12555.1271777333@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mitch Collinsworth <mitch(at)ccmr(dot)cornell(dot)edu> writes:
> [ a freshly created database has stuff in it ]

A freshly created database is, by default, a copy of "template1".
Apparently, you've accidentally created some stuff in template1.
Simplest solution is to connect to template1 and drop that stuff.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-04-20 15:32:18 Re: pg_restore -j
Previous Message Bruce Momjian 2010-04-20 15:26:21 Re: pg_restore -j