Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezkUk-0005Vq-VZ for pgsql-general@arkaria.postgresql.org; Sat, 24 Mar 2018 14:50:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ezkUi-00085e-Jo for pgsql-general@arkaria.postgresql.org; Sat, 24 Mar 2018 14:50:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezkUi-00085O-8Q for pgsql-general@lists.postgresql.org; Sat, 24 Mar 2018 14:50:08 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezkUa-0004XM-HO for pgsql-general@lists.postgresql.org; Sat, 24 Mar 2018 14:50:06 +0000 Received: from [192.168.222.106] (p5B3133B8.dip0.t-ipconnect.de [91.49.51.184]) by mail.i-mark.de (Postfix) with ESMTPSA id B003A1580960 for ; Sat, 24 Mar 2018 15:49:52 +0100 (CET) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 91.49.51.184) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.222.106] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: case and accent insensitive To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer Message-ID: <89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de> Date: Sat, 24 Mar 2018 15:49:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 23.03.2018 um 23:04 schrieb MOISES ESPINOSA: > I don't know how i could reproduced case insensitive and accent > insensitive. Maybe you can use lower() for case insensitive or citext for the same (https://www.postgresql.org/docs/10/static/citext.html) and the unaccent-extension for the accent insensitive (https://www.postgresql.org/docs/10/static/unaccent.html) *untested* Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com