Neil Conway <neilc(at)samurai(dot)com> writes:
> It took me a while for the problem to occur again. I've attached the
> regression.diffs file that was produced -- any ideas what the problem
> is?
> SELECT tablename, rulename, definition FROM pg_rules
> ORDER BY tablename, rulename;
> ! ERROR: cache lookup of relation 144145 failed
At a guess, something is dropping a table that had a rule just as the
rules test tries to print out the rule definition.
Do we have any concurrent tests that create/drop views, or tables with
rules on them?
regards, tom lane