Re: rules regression test fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rules regression test fix
Дата
Msg-id 18573.1030517007@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: rules regression test fix  (Neil Conway <neilc@samurai.com>)
Ответы Re: rules regression test fix  (Alvaro Herrera <alvherre@atentus.com>)
Список pgsql-patches
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?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: rules regression test fix
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: rules regression test fix