Go back to using a separate method for doing ILIKE for single byte

Andrew Dunstan <andrew@dunslane.net>

Commit: e1528933058db8db8e7398c044b1e9fee82cddcf
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-09-22T03:58:34Z
Releases: 8.3.0
Go back to using a separate method for doing ILIKE for single byte
character encodings that doesn't involve calling lower(). This should
cure the performance regression in this case complained of by Guillaume
Smet. It still leaves the horrid performance for multi-byte encodings
introduced in 8.2, but there's no obvious solution for that in sight.

Files

PathChange+/−
src/backend/utils/adt/like.c modified +35 −10
src/backend/utils/adt/like_match.c modified +20 −7