RE: [GENERAL] pg_database corrupted(?) If so, what do I do???? - Mailing list pgsql-general

From Jonny Hinojosa
Subject RE: [GENERAL] pg_database corrupted(?) If so, what do I do????
Date
Msg-id 000701be9b1b$050e5440$03000004@TCA.net
Whole thread Raw
In response to pg_database corrupted(?) If so, what do I do????  ("Jonny Hinojosa" <Jonny@TCA.net>)
Responses RE: [GENERAL] pg_database corrupted(?) If so, what do I do????  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List pgsql-general
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: owner-pgsql-general@postgreSQL.org
[mailto:owner-pgsql-general@postgreSQL.org]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



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Problem with an indexing on a large table. Suggestions needed.
Next
From: Bruce Momjian
Date:
Subject: IRC, webcam, IM