This is a very abbr version of my problem, but what would be the bestway to do this...
DECLARE column_name_var TEXT;BEGIN RETURN NEW.column_name_var;END;