Postgresql Trigger For Each Row In Range