Resolves column type OIDs: built-ins from the static table, other types from pg_type, cached per OID.