Postgresql Trigger Insert Into Mysql Example Update