How to fix 2200G: most_specific_type_mismatch in PostgreSQL | DevErrors