Re: followup on view/rule/delete problem.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: followup on view/rule/delete problem.
Дата
Msg-id 27340.992455816@sss.pgh.pa.us
обсуждение исходный текст
Ответ на followup on view/rule/delete problem.  (Pete Leonard <pete@hero.com>)
Список pgsql-general
Pete Leonard <pete@hero.com> writes:
> Unfortunately, I'm still not quite there - I'm still experiencing DB
> hangs, and was able to duplicate it with the following simplified schema.
> Is this a 7.1-specific bug?  Is it breaking 7.1.2 as well?
> ...
> create rule delete_foobar as on delete to foobar
> do instead (
> insert into log (id, action) values (OLD.id, 'deleted');
> delete from foo where id=OLD.id;
> );

Almost anything involving a multi-action rule and references to views
is probably vulnerable to the bug I found yesterday :-(.  Please try
it with 7.1.2 plus the patch I posted.

            regards, tom lane

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

Предыдущее
От: Pete Leonard
Дата:
Сообщение: Re: followup on view/rule/delete problem.
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: function / trigger problem