Hi,
Is there a way to write a "generic" trigger function in postgres
that can loop thru a table's cloumns (using TG_RELNAME)
and perform certain activities based on, say, certain column-types?
In other words, is it possible to assign OLD.<column_name>
and NEW.<column_name> to a variable inside triggers?
Thanks,
Morey Parang
ORNL