How to execute my trigger when update certain columns but not all?

Поиск
Список
Период
Сортировка
Искать
От
Raymond Chui
Тема
How to execute my trigger when update certain columns but not all?
Дата
Msg-id
3D5A487F.ECFECBAE@noaa.gov
Список
Дерево обсуждения
How to execute my trigger when update certain columns but not all? "Raymond Chui" <Raymond.Chui@noaa.gov>
Re: [ADMIN] How to execute my trigger when update certain columns Oliver Elphick <olly@lfix.co.uk>
Let say I have a table has column1 and column2 and I made a trigger for
after INSERT OR UPDATE for each row to execute procedure my_function.

What I want is the trigger execute my_function only when column1 is
insert or
update, but not going to execute my_function when column2 is insert or
update.
How do I do that?

Thank Q very much
В списке pgadmin-support по дате отправления
От: Armbrust, Daniel C.
Дата:
Сообщение: download broken
От: Dave Page
Дата:
FAQ