code: private static List<RelationID> getTableListDefault(DatabaseMetaData md, ImmutableSet<String> ignoredSchemas, QuotedIDFactory idfac) throws SQLException {
  		List<RelationID> relationIds = new LinkedList<>();
  		try (ResultSet rs = md.getTables(null, null, null, new String[] { "TABLE", "VIEW" })) {
  			while (rs.next()) {
  				// String catalog = rs.getString("TABLE_CAT"); // not used
  				String schema = rs.getString("TABLE_SCHEM");
  				String table = rs.getString("TABLE_NAME");
  				if (ignoredSchemas.contains(schema)) {
  					continue;
  				}
  				RelationID id = RelationID.createRelationIdFromDatabaseRecord(idfac, schema, table);
  				relationIds.add(id);
  			}
  		}
  		return relationIds;
  	}
docs: Retrieve the table and view list from the JDBC driver (works for most database engines, e.g., MySQL and PostgreSQL)