Joseph Sadove
2004-09-01 19:58:30 UTC
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 doesnt 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
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
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 doesnt 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
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html