Use text format for integers and don't set type OID for text types.