Re: Corrupted database, how do I fix?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Roy Souther <roy(at)silicontao(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Corrupted database, how do I fix?
Date: 2001-06-05 19:48:32
Message-ID: 20339.991770512@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Roy Souther <roy(at)silicontao(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-06-05 22:11:53 Re: serious connection problems
Previous Message Tauren Mills 2001-06-05 19:30:03 RE: Limiting simultaneous connections