How to execute my trigger when update certain columns but not all? - Mailing list pgadmin-support

From Raymond Chui
Subject How to execute my trigger when update certain columns but not all?
Date
Msg-id 3D5A487F.ECFECBAE@noaa.gov
Whole thread Raw
Responses Re: [ADMIN] How to execute my trigger when update certain columns
List pgadmin-support
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

Attachment

pgadmin-support by date:

Previous
From: "Armbrust, Daniel C."
Date:
Subject: download broken
Next
From: "Dave Page"
Date:
Subject: Re: BUG - does not handle empty strings properly