DROPped database doesn't go away Postgres7.4 - Mailing list pgsql-admin

From Joseph Sadove
Subject DROPped database doesn't go away Postgres7.4
Date
Msg-id 1094068710.413629e6d540d@webmail.no-ip.com
Whole thread Raw
Responses Re: DROPped database doesn't go away Postgres7.4  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hello All,

I cannot “re-create” a database properly.

I did a dump all of one database that runs on production.

I copied the dmp file to dev environment, DROPped the existing database, CREATEd
the database anew and then ran the dump in psql to recreate the database.

The database (and/or db server) seems all scrambled now.

The new database seems unchanged from the one I DROPped.

When I DROP it again and just re- CREATE it, without doing anything, all the
schemas and objects are there as if I never dropped it.

After I DROP the database, I check that it is indeed gone by trying to psql to
it. An error comes telling me the DB doesn’t exist.

This is extremely bizarre. Any help is vastly appreciated.


Thanks, Joe

The environment, etc. is:
RedHat ES3 (kernel 2.4.21)
Postgres 7.4.2-1 unclustered





--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi





pgsql-admin by date:

Previous
From: "Chris Hoover"
Date:
Subject: Re: Help understanding locale
Next
From: Seamus Ryan
Date:
Subject: initdb - (InitPostgres) - FATAL: database "postgres" does not exist