Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f55JnHE68359 for ; Tue, 5 Jun 2001 15:49:23 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f55JmWR20342; Tue, 5 Jun 2001 15:48:32 -0400 (EDT) To: Roy Souther cc: pgsql-admin@postgresql.org Subject: Re: Corrupted database, how do I fix? In-reply-to: <0106050937170D.14258@OlympusMons> References: <0106050937170D.14258@OlympusMons> Comments: In-reply-to Roy Souther message dated "Tue, 05 Jun 2001 09:37:17 -0600" Date: Tue, 05 Jun 2001 15:48:32 -0400 Message-ID: <20339.991770512@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200106/26 X-Sequence-Number: 1564 Roy Souther 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