Re: Rules versus triggers

Поиск
Список
Период
Сортировка
От Justin
Тема Re: Rules versus triggers
Дата
Msg-id CALL-XeORpZyTBLSjn-vw5Xhs_cKdv-P-WB420xbWiGwC57MA3A@mail.gmail.com
обсуждение исходный текст
Ответ на Rules versus triggers  (stan <stanb@panix.com>)
Ответы Re: Rules versus triggers
Список pgsql-general
Hi Stan

Rules actual are able to rewrite the SQL query sent to  postgresql.  Most everyone suggestion is avoid rules.

Triggers are just like every other databases Triggers firing off code for Insert/Update/Delete/Truncate event

On Sat, Mar 7, 2020 at 6:56 AM stan <stanb@panix.com> wrote:
Could someone give me a brief description of the intended functionally, and
how the 2 features work of rules, versus triggers? It appears to me that
they are simply 2 different ways to set up triggers, but I am certain that
is just because of my lack of knowledge.

Thank you.

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                                                -- Benjamin Franklin


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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: Rules versus triggers
Следующее
От: Andy Colson
Дата:
Сообщение: Re: geting results of query in plperl