Postgresql Update Trigger Function Example In Matlab