recovering a "lost" database - Mailing list pgsql-general

From Jeff Hoffmann
Subject recovering a "lost" database
Date
Msg-id 385E5AD6.B3FE607E@propertykey.com
Whole thread Raw
In response to cant create index on decimal column  (Robert Davis <rdavis@lillysoftware.com>)
Responses Re: [GENERAL] recovering a "lost" database  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
i have a database that was "lost" -- the database is still there (i can
see the files on disk in the database's directory), but when i try to
connect to the database, it says that it doesn't exist in pg_database.
what happened is that the database got dropped while the drive with the
data on it was unmounted, but now that i thought about it, it would be
nice to have a backup of it if i can get it.  is there a way that i can
manually add it to the pg_database table (and are there other tables i
have to mess with?) so i can access it again?

thanks,

jeff

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Getting value of SERIAL column after insert from libpq?
Next
From: Jose Soares
Date:
Subject: Re: [GENERAL] copy command -- foiled by pg_atoi