I'm going to create a trigger before/after update on specific columns of a table in postgresql but i can't do that.
i can bind trigger to fire after update a specific column of a specific table but i can't do that for more than one column. i want to know is it possible?
i don't want to solve it using writing IF(UPDATE(column series)) in my trigger function
--i tried below code but it give me error near ','
create trigger save_information after update of table_name on day, month
for each row
execute procedure save_function();
-- but below code (by mentioning just a single column) works fine:
create trigger save_information after update of table_name on day
for each row
execute procedure save_function();
i don't want to change my save_function to solve it or use 'IF(update(column series)' statement. excuse me for my weak writing.