Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arthur Zakirov <a.zakirov@postgrespro.ru>
Cc: Daniel Verite <daniel@manitou-mail.org>,
James Inform <james.inform@pharmapp.de>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
pgsql-bugs@lists.postgresql.org
Date: 2019-08-12T17:17:38Z
Lists: pgsql-bugs
Arthur Zakirov <a.zakirov@postgrespro.ru> writes: > On 12.08.2019 00:32, Tom Lane wrote: >> I think Daniel's patch leaves more on the table than it needs to, >> and I don't like Arthur's patch because it's assuming more than it >> should about whether it's okay to pass a "char" to u_isalpha(). >> I propose that we do things as attached, instead. > Yeah, u_isalpha() wasn't such good idea here. BTW Daniel already > mentioned it above. > With the patch regression tests pass for me and James test case works > fine as expected. Thanks for double-checking! Pushed now. regards, tom lane
Commits
-
Fix planner's test for case-foldable characters in ILIKE with ICU.
- c914e74d2dee 11.6 landed
- 886cf85b52cf 10.11 landed
- c0c12ce391d8 12.0 landed
- 03c811a483b2 13.0 landed