Re: Bug?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug?
Дата
Msg-id 3849.991668851@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug?  (Paul <magamos@mail.ru>)
Список pgsql-bugs
Paul <magamos@mail.ru> writes:
> create table xx (a int4);
> create rule xx_xx2 as on delete to xx where old.a=1 do notify xxx;
> something like "backend closed connection"

Okay, the problem here is that we don't support NOTIFY (or other utility
statements) in conditional rules.  This isn't likely to change soon.
I agree it shouldn't crash though; will fix that.

Consider using a trigger to do the notify, instead.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with sql
Следующее
От: Trurl McByte
Дата:
Сообщение: ...