operator does not exist: text == unknown LINE 10: AND t.type == 'Issue' ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.