The postgres database -- necessary? If so, how to cleanse? - Mailing list pgsql-general

From René Fournier
Subject The postgres database -- necessary? If so, how to cleanse?
Date
Msg-id 1EEE5229-AEB4-453B-B964-F5C78A09CCC5@renefournier.com
Whole thread Raw
Responses Re: The postgres database -- necessary? If so, how to cleanse?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I accidentally imported lots of data into the postgres database via something like:

psql -U postgres -q -f super_massive_database_dump.sql

Now, although I've manually dropped all the tables -- and \d+ shows nothing -- there are still various views, functions, etc that must account for a lot of disk space. From \l+, I see that postgres still occupies 65GB. So my question is, what's the easiest way to reclaim that space? Can I drop postgres and just recreate it? Or is it magical like unicorns and unwilling to be dropped? Or, how can I just clear out all the crap I imported?

Thanks!

…Rene

pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: All and ANY
Next
From: Tom Lane
Date:
Subject: Re: The postgres database -- necessary? If so, how to cleanse?