Re: could not open relation...No such file or directory - Mailing list pgsql-general

From Tom Lane
Subject Re: could not open relation...No such file or directory
Date
Msg-id 7264.1293038430@sss.pgh.pa.us
Whole thread Raw
In response to could not open relation...No such file or directory  (Sim Zacks <sim@compulab.co.il>)
Responses Re: could not open relation...No such file or directory  (Sim Zacks <sim@compulab.co.il>)
Re: could not open relation...No such file or directory  (Sim Zacks <sim@compulab.co.il>)
List pgsql-general
Sim Zacks <sim@compulab.co.il> writes:
>>> FATAL:  could not open relation 1663/26468499/1259: No such file or
>>> directory

>> I begin to wonder if the subdirectory $PGDATA/base/26468499 is there at
>> all?

> /var/lib/postgresql/8.2/data/base/26468499 does exist, and there are
> 1212 files in it, but so far all the relationships that I have seen in
> the error logs are not in the directory.

Well, 1259 is pg_class, so if you've lost that then this database is
toast.  I think your filesystem must've had a hiccup.

            regards, tom lane

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: could not open relation...No such file or directory
Next
From: David Fetter
Date:
Subject: Re: Table inheritance foreign key problem