Re: Empty database creation??? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Empty database creation???
Date
Msg-id 21502.1205964123@sss.pgh.pa.us
Whole thread Raw
In response to Empty database creation???  (Carol Walter <walterc@indiana.edu>)
List pgsql-admin
Carol Walter <walterc@indiana.edu> writes:
> ... Why does this come back
> with all the tables intact when I drop it and recreate a database
> with the same name?

Most likely, you accidentally created all that stuff in template1,
and CREATE DATABASE is just copying it from there.  Clean out template1.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Empty database creation???
Next
From: smp
Date:
Subject: Cannot start PGSQL