On 12/22/2010 07:20 PM, Tom Lane wrote:
> 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
Is there any way I can see the pg_class table so that I know which
relations are missing, if I have a list of all the relations that are
not there?
Or better, is there a way I can dump what is there?