Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxDx4-00023h-5S for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Aug 2019 17:17:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hxDx3-0004KY-13 for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Aug 2019 17:17:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxDx2-0004KQ-Mr for pgsql-bugs@lists.postgresql.org; Mon, 12 Aug 2019 17:17:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hxDx0-00041O-Gf for pgsql-bugs@lists.postgresql.org; Mon, 12 Aug 2019 17:17:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7CHHckr012523; Mon, 12 Aug 2019 13:17:38 -0400 From: Tom Lane To: Arthur Zakirov cc: Daniel Verite , James Inform , Peter Eisentraut , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query In-reply-to: <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru> References: <8be770db-3fd9-428a-968e-333fc67a50db@manitou-mail.org> <94c64652-81f6-63b9-b86c-bfc23d5d41d9@postgrespro.ru> <8498.1565559169@sss.pgh.pa.us> <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru> Comments: In-reply-to Arthur Zakirov message dated "Mon, 12 Aug 2019 12:12:13 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12521.1565630258.1@sss.pgh.pa.us> Date: Mon, 12 Aug 2019 13:17:38 -0400 Message-ID: <12522.1565630258@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Arthur Zakirov 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