Thread: Field collection in trigger

Field collection in trigger

From
Josué Maldonado
Date:
Hello list,

First of all, excuse me if this is not the right site to ask my question.

Is there a way in postgresql to loop to all the fields of a  given table
and compare the OLD and NEW value for each field. I need to make an
audit table that must contain only the fields changed after and
insert/update.

Thanks in advance

Josué Maldonado.