Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A31482E003D for ; Wed, 19 Mar 2008 19:02:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 05104-05 for ; Wed, 19 Mar 2008 19:02:07 -0300 (ADT) Received: from mx3.hub.org (mx3.hub.org [206.223.169.73]) by postgresql.org (Postfix) with ESMTP id 4A7EA2E0031 for ; Wed, 19 Mar 2008 19:02:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mx3.hub.org (Postfix) with ESMTP id D1390382C0B for ; Wed, 19 Mar 2008 19:02:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m2JM23ZG021503; Wed, 19 Mar 2008 18:02:03 -0400 (EDT) To: Carol Walter cc: pgsql-admin@postgresql.org Subject: Re: Empty database creation??? In-reply-to: <5603D3A1-DFEE-43D2-9107-66171FDBDEAF@indiana.edu> References: <5603D3A1-DFEE-43D2-9107-66171FDBDEAF@indiana.edu> Comments: In-reply-to Carol Walter message dated "Wed, 19 Mar 2008 17:21:39 -0400" Date: Wed, 19 Mar 2008 18:02:03 -0400 Message-ID: <21502.1205964123@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/152 X-Sequence-Number: 28635 Carol Walter 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