Postgresql Trigger For Each Row Of Data Frame In Maps