X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DBCC4D1B21B for ; Tue, 15 Jun 2004 16:18:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57139-02 for ; Tue, 15 Jun 2004 19:18:26 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 166C0D1B19F for ; Tue, 15 Jun 2004 16:18:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5FJIESv003947; Tue, 15 Jun 2004 15:18:14 -0400 (EDT) To: "Lee Wu" Cc: pgsql-admin@postgresql.org Subject: Re: table not shown In-reply-to: References: Comments: In-reply-to "Lee Wu" message dated "Tue, 15 Jun 2004 07:56:03 -0600" Date: Tue, 15 Jun 2004 15:18:13 -0400 Message-ID: <3946.1087327093@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/180 X-Sequence-Number: 13840 "Lee Wu" writes: > Here is screen shot: > mxl=# select * from pg_class where relname = 'mxl_quar_process'; > [ no rows ] > mxl=# select * from mxl_quar_process limit 1; > [ data ] That's just plain bizarre. I'm wondering about corruption of the indexes on pg_class --- though I'd have expected the system to use an indexscan to look up mxl_quar_process for the second select, so it's not obvious why the first search would fail and the second one not. Your later report about "invalid adnum value 5 for table mxl_user_wbl" also sounds like it could be due to index corruption. I'd try doing a REINDEX DATABASE to see if that fixes it. (Read the REINDEX man page fully before you start.) One other thought --- it doesn't change anything if you do select * from pg_catalog.pg_class where relname = 'mxl_quar_process'; does it? regards, tom lane