getSQLType(oid); pgType = (String) pgTypeCache.get(new Integer(oid));
Integer oidValue = (Integer) typeOidCache.get(typeName); if (oidValue != null) { oid = oidValue.intValue(); } else {  String sql; if (haveMinimumServerVersion("7.3")) { sql = "SELECT oid FROM pg_catalog.pg_type WHERE typname='" + typeName + "'"; } else { sql = "SELECT oid FROM pg_type WHERE typname='" + typeName + "'"; } BaseResultSet result = execSQL(sql); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new PSQLException("postgresql.unexpected"); result.next(); oid = Integer.parseInt(result.getString(1)); typeOidCache.put(typeName, new Integer(oid)); result.close(); }
	public String getPGType(int oid) throws SQLException	{		String pgType = (String) pgTypeCache.get(new Integer(oid));		if (pgType == null)		{			getSQLType(oid);			pgType = (String) pgTypeCache.get(new Integer(oid));		}		return pgType;	}