Comment

Peter Bengtsson

Really?! I sort of not surprised. PostgreSQL rocks! I'll throw that in if and when I replace my ILIKE statements (that don't use wildcards) with UPPER ones.

Parent comment

Ivo van der Wijk

FYI UPPER can use an index if you create the index to be uppercase, i.e. CREATE INDEX foo on bar (upper(col)); after which a "select * from bar where upper(col) = "PETER"; should be alot faster.