Re: rules regression test fix

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: rules regression test fix
Date: 2002-08-28 07:03:01
Message-ID: Pine.LNX.4.44.0208280301220.31970-100000@cm-lcon1-46-187.cm.vtr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane dijo:

> 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?

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)

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-28 07:32:49 Re: [HACKERS] Proposed GUC Variable
Previous Message Tom Lane 2002-08-28 06:43:27 Re: rules regression test fix