From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Silvela, Jaime \(Exchange\)" <JSilvela(at)Bear(dot)com> |
Cc: | "pgsql-general" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: CASCADING could not open relation with OID |
Date: | 2006-08-23 22:15:23 |
Message-ID: | 25058.1156371323@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Silvela, Jaime \(Exchange\)" <JSilvela(at)Bear(dot)com> writes:
> If I try to read from one, I get ERROR: could not open relation with
> OID 16896
> If I try to redefine it, I get ERROR: relation "bb_master" already
> exists
> If I try to DROP it, ERROR: cache lookup failed for relation 16896
What do you get from
select oid, * from pg_class where relname = 'bb_master';
select oid, * from pg_class where oid = 16896;
If either one fails to get a hit, try it again after doing
set enable_indexscan = off;
> How can I get around this? What's happening?
Hard to tell. It sounds a bit like pg_class catalog damage, but the
above experiment will tell us more.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-23 22:18:21 | Re: Inserting Data |
Previous Message | Bob Pawley | 2006-08-23 22:02:53 | Re: Inserting Data |