if (pgTypeName.equals(jdbc1Types[i])) { sqlType = jdbc1Typei[i]; break;
String pgType;  if (oid == 0) { pgType = "opaque"; } else { String sql; if (haveMinimumServerVersion("7.3")) { sql = "SELECT typname FROM pg_catalog.pg_type WHERE oid = " +oid; } else { sql = "SELECT typname FROM pg_type WHERE oid = " +oid; } BaseResultSet result = execSQL(sql); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) { throw new PSQLException("postgresql.unexpected"); } result.next(); pgType = result.getString(1); result.close();
	public int getSQLType(String pgTypeName)	{		int sqlType = Types.OTHER; // default value		for (int i = 0;i < jdbc1Types.length;i++)		{			if (pgTypeName.equals(jdbc1Types[i]))			{				sqlType = jdbc1Typei[i];				break;			}		}		return sqlType;	}