@Override
	public String[] getEntries(String catalog, String schema) {
		String query =
			"SHOW FUNCTION STATUS ";

		// Count how many functions are in the current catalog
		List<String[]> rows = runQuery(query);
		int count = 0;
		for (String[] row : rows) {
			if (row.length > 2  &&  row[0].equalsIgnoreCase(catalog)) {
				count++;
			}
		}

		// Second pass: add the names of the entries
		String[] entries = new String[count];
		count = 0;
		for (String[] row : rows) {
			if (row.length > 2  &&  row[0].equalsIgnoreCase(catalog)) {
				entries[count++] = row[1];
			}
		}

		return entries;
	}