Re: How to recover from : "Cache lookup failed for rela tion " - Mailing list pgsql-general

From Tom Lane
Subject Re: How to recover from : "Cache lookup failed for rela tion "
Date
Msg-id 7863.1116859812@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to recover from : "Cache lookup failed for rela  (Patrick.FICHE@AQSACOM.COM)
List pgsql-general
Patrick.FICHE@AQSACOM.COM writes:
>  classid | objid  | objsubid | refclassid | refobjid | refobjsubid | deptype

> ---------+--------+----------+------------+----------+-------------+--------
> -
>     1247 | 463559 |        0 |       1259 |   463558 |           0 | i
>     1259 | 463558 |        0 |      16672 |   440012 |           0 | n
> (2 rows)

Well, what I'd recommend is to manually delete those two rows in
pg_depend and then delete the row in pg_type.  This may not clean things
up 100% but it should be close enough.

            regards, tom lane

pgsql-general by date:

Previous
From: Patrik Kudo
Date:
Subject: Problem merging two rows into same primary key
Next
From: Patrick.FICHE@AQSACOM.COM
Date:
Subject: Re: How to recover from : "Cache lookup failed for rela