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 1iAoL3-0003Y2-QW for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Sep 2019 04:46:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iAoL2-0001R9-OD for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Sep 2019 04:46:40 +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 1iAoIk-0007jW-Nd for pgsql-bugs@lists.postgresql.org; Thu, 19 Sep 2019 04:44:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iAoIh-0001Yn-AA for pgsql-bugs@postgresql.org; Thu, 19 Sep 2019 04:44:17 +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 x8J4iDe0031371; Thu, 19 Sep 2019 00:44:13 -0400 From: Tom Lane To: Morris de Oryx cc: pgsql-bugs@postgresql.org Subject: Re: citext LIKE search bug In-reply-to: References: <29403.1568866774@sss.pgh.pa.us> Comments: In-reply-to Morris de Oryx message dated "Thu, 19 Sep 2019 14:30:15 +1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31369.1568868253.1@sss.pgh.pa.us> Date: Thu, 19 Sep 2019 00:44:13 -0400 Message-ID: <31370.1568868253@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Morris de Oryx writes: > For what it's worth, the citext_pattern_ops option seems to provide > case-blind = searches, which text_pattern_ops does not. Unless I got > confused when I tested out the various permutations. If that's true, then > citext_pattern_ops has value for me. The default citext index opclass should handle that case fine ... regards, tom lane