Re: simple trigger question ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: simple trigger question ...
Дата
Msg-id 28222.1049380687@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: simple trigger question ...  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-sql
"Marc G. Fournier" <scrappy@hub.org> writes:
> 'K, that makes it workable ... final question (I hope!) ... RULEs vs
> TRIGGERs?  I ended up doing it as a RULE, since I could do it without a
> function ... but is there a reason why that is a Bad Idea?  Or in a case
> like this, it doesn't really matter?

A lot of people have found that rules don't behave quite the way they
want, particularly with regard to things like the number of times that
side-effects happen.  Better test it out.
        regards, tom lane



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: simple trigger question ...
Следующее
От: "AndreT"
Дата:
Сообщение: string variable with spaces in psql