From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lee Wu <Lwu@mxlogic.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: table not shown
Date: Tue, 15 Jun 2004 15:18:13 -0400
Message-ID: <3946.1087327093@sss.pgh.pa.us> (raw)
In-Reply-To: <ECAB83AA52BCC043A0E24BBC0000102411123E@mxhq-exch.corp.mxlogic.com>
References: <ECAB83AA52BCC043A0E24BBC0000102411123E@mxhq-exch.corp.mxlogic.com>
"Lee Wu" <Lwu@mxlogic.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Lwu@mxlogic.com
Subject: Re: table not shown
In-Reply-To: <3946.1087327093@sss.pgh.pa.us>
References: <ECAB83AA52BCC043A0E24BBC0000102411123E@mxhq-exch.corp.mxlogic.com> <3946.1087327093@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox