Re: CASCADING could not open relation with OID - Mailing list pgsql-general

From Silvela, Jaime \(Exchange\)
Subject Re: CASCADING could not open relation with OID
Date
Msg-id B0D2EF413B7344489985137E6DDB6C430BF6AE@whexchmb14.bsna.bsroot.bear.com
Whole thread Raw
Responses Re: CASCADING could not open relation with OID  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
It hadn't occurred to me to reindex the pg_class!! Beginner...

After reindexing, both query lines were successful, and I was able to
access my missing tables!!

THANKS!!

What could be the possible cause for this?

Thanks again,
Jaime


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wednesday, August 23, 2006 7:10 PM
To: Silvela, Jaime (Exchange)
Cc: pgsql-general
Subject: Re: [GENERAL] CASCADING could not open relation with OID

"Silvela, Jaime \(Exchange\)" <JSilvela@bear.com> writes:
> I get
> Oid: 16896
> Relname: bb_master

Hmm ... but you're *sure* "where oid = 16896" can't find this row,
even with enable_indexscan = off?  That doesn't make a lot of sense.

To cut to the chase, though: try "REINDEX pg_class" and see if it helps.

            regards, tom lane



***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.

Bear Stearns does not provide tax, legal or accounting advice.  You
should consult your own tax, legal and accounting advisors before
engaging in any transaction. In order for Bear Stearns to comply with
Internal Revenue Service Circular 230 (if applicable), you are notified
that any discussion of U.S. federal tax issues contained or referred to
herein is not intended or written to be used, and cannot be used, for
the purpose of:  (A) avoiding penalties that may be imposed under the
Internal Revenue Code; nor (B) promoting, marketing or recommending to
another party any transaction or matter addressed herein.
***********************************************************************

pgsql-general by date:

Previous
From: Frank Cohen
Date:
Subject: XPath and XML support
Next
From: Bob Pawley
Date:
Subject: Re: Inserting Data