Re: Corrupted database, how do I fix? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Corrupted database, how do I fix?
Date
Msg-id 20339.991770512@sss.pgh.pa.us
Whole thread Raw
In response to Corrupted database, how do I fix?  (Roy Souther <roy@silicontao.com>)
List pgsql-admin
Roy Souther <roy@silicontao.com> writes:
> But I can do "SELECT * FROM a_bad_table" and I see all the data, it is there.
> But also when I do "SELECT * FROM pg_tables WHERE tablename = 'a_bad_table'"
> I get nothing, it is not in the tables table.

pg_tables is just a view, and it filters out stuff that it thinks is a
view or otherwise not a plain table.  What do you see if you look in
pg_class?

            regards, tom lane

pgsql-admin by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: serious connection problems
Next
From: "Tauren Mills"
Date:
Subject: Alternate database locations