On Thu, 30 Aug 2001, Oleg Lebedev wrote:
> Hi,
> I am trying to upgrade to 7.1.2 and when I use:
> pg_dumpall -o > file.bac
> I get an error saying:
> dumpRules(): SELECT failed for table setmedias. Explanation from backend:
> 'ERROR: cache lookup of attribute 5 in relation 23945 failed"
>
> As I understand setmedias table corresponds to relation 23945, but I dropped
> it a long time ago. How should remove this relation pointer?
> thanks,
It sounds like you have a rule that still refers to the dead table.