Re: rules regression test fix - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: rules regression test fix
Date
Msg-id Pine.LNX.4.44.0208280301220.31970-100000@cm-lcon1-46-187.cm.vtr.net
Whole thread Raw
In response to Re: rules regression test fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: rules regression test fix
List pgsql-patches
Tom Lane dijo:

> Neil Conway <neilc@samurai.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?

Yes, alter_table.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte"
(Ijon Tichy en Viajes, Stanislaw Lem)


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: rules regression test fix
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: [HACKERS] Proposed GUC Variable