aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2007-06-02 02:03:42 +0000
committerAndrew Dunstan <andrew@dunslane.net>2007-06-02 02:03:42 +0000
commit15f8202c204386b7a3b95b00976b4c1e7ba062c1 (patch)
treeb6d3e83136c1d2dbd4b3b804678b630b585d9030 /src/backend/executor/nodeHash.c
parent964ec46cfe95028ca166dd5579e07b22c7434a91 (diff)
downloadpostgresql-15f8202c204386b7a3b95b00976b4c1e7ba062c1.tar.gz
postgresql-15f8202c204386b7a3b95b00976b4c1e7ba062c1.zip
Improve efficiency of LIKE/ILIKE code, especially for multi-byte charsets,
and most especially for UTF8. Remove unnecessary special cases for bytea processing and single-byte charset ILIKE. a ILIKE b is now processed as lower(a) LIKE lower(b) in all cases. The code is now considerably simpler. All comparisons are now performed byte-wise, and the text and pattern are also advanced byte-wise where it is safe to do so - essentially where a wildcard is not being matched. Andrew Dunstan, from an original patch by ITAGAKI Takahiro, with ideas from Tom Lane and Mark Mielke.
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions