Repair data type conversion (Oracle to Postgres) errors