Re: ERROR action extension for rules?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: ERROR action extension for rules?
Дата
Msg-id Pine.LNX.4.58.0404210908360.6454@sablons.cri.ensmp.fr
обсуждение исходный текст
Ответ на Re: ERROR action extension for rules?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> >      CREATE RULE PasTouche AS ON UPDATE TO foo
> >      WHERE old.locked=TRUE
> >      DO INSTEAD ERROR;
>
> This would be sensible if rules were actually reasonable substitutes for
> triggers, but they are not.
>
> If you check the archives you will find many many cases where people
> tried to do this sort of thing, and got burned by the fundamental
> semantic differences ...

Ok, I'll look into that. Thanks for the pointer.

-- 
Fabien Coelho - coelho@cri.ensmp.fr


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Duplicate variable declared?
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum crashes when query fails for temp tables