How to fix trigger cannot change partition destination in PostgreSQL | DevErrors