Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Tom LaneDate: 2010-04-20 15:32:18
Subject: Re: pg_restore -j
Previous:From: Bruce MomjianDate: 2010-04-20 15:26:21
Subject: Re: pg_restore -j

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group