Postgresql Update Trigger Function Example In C