Skip site navigation (1) Skip section navigation (2)

Re: rules regression test fix

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: rules regression test fix
Date: 2002-08-28 06:43:27
Message-ID: 18573.1030517007@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
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

In response to

Responses

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2002-08-28 07:03:01
Subject: Re: rules regression test fix
Previous:From: Neil ConwayDate: 2002-08-28 06:37:27
Subject: Re: rules regression test fix

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group