How to fix 22027: trim_error in PostgreSQL | DevErrors