- Notifications
You must be signed in to change notification settings - Fork5
Commit15f8202
committed
Improve efficiency of LIKE/ILIKE code, especially for multi-byte charsets,
and most especially for UTF8. Remove unnecessary special cases for byteaprocessing and single-byte charset ILIKE. a ILIKE b is now processed aslower(a) LIKE lower(b) in all cases. The code is now considerably simpler. Allcomparisons are now performed byte-wise, and the text and pattern are alsoadvanced byte-wise where it is safe to do so - essentially where a wildcard isnot being matched.Andrew Dunstan, from an original patch by ITAGAKI Takahiro, with ideas fromTom Lane and Mark Mielke.1 parent964ec46 commit15f8202
2 files changed
+183
-439
lines changed0 commit comments
Comments
(0)