AFAICT, ILIKE cannot use an index. So why does ILIKE even exist, whenlower(expr) LIKE 'foo' provides a solution that can use an index and ismore standard, too?
-- Peter Eisentraut peter_e(at)gmx(dot)net