In catalog functions we assume that databases are catalogs. But driver neglects schemaname argument. Whatever value it has, it returns resultset like if it is not set. While unless it is NULL or "%", it should apparently return empty resultset. And also if it is "%" and catalog and table names are empty strings.