More info:

        bash-2.02$ psql -l
        datname  |datdba|encoding|datpath
        ---------+------+--------+---------
        template1|  1002|       0|template1
        jonny    |  1001|       0|jonny
        hom      |  1003|       0|H
        cdmwhere |  1005|       0|cdmw H
        (4 rows)

        bash-2.02$

The last 2 entries have been corrupted.  How do I (can I) correct these
entries ??????

Jonny



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jonny Hinojosa
Sent: Monday, May 10, 1999 9:48 AM
To: PostgreSQL General
Subject: [GENERAL] pg_database corrupted(?) If so, what do I do????


Solaris 7 : snapshot dated 0506

The system has been running fine for several months.  Yesterday it crashed
and I have not been able to get it back.

This is the message I get when I try to access the db from psql :

bash-2.02$ psql
Connection to database 'cdmwhere' failed.
FATAL 1:  Database 'cdmwhere' does not exist.
        We know this because the directory '/data/base/cdmw H' does not
exist.
        You can create a database with the SQL command CREATE DATABASE.
        To see what databases exist, look at the subdirectories of
'/data/base/'
.

bash-2.02$

Why does it think the directory '/data/base/cdmw H' should exist?  Shouldn't
that be '/data/base/cdmwhere'?

Any ideas on how I can recover?
Jonny


Reply via email to