Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7ObA-0001YU-GS for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Jun 2015 13:50:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7Ob9-0006qL-K4 for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Jun 2015 13:50:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7Ob5-0006l0-6i for pgsql-bugs@postgresql.org; Tue, 23 Jun 2015 13:50:43 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1Z7Ob2-0005mT-Ai for pgsql-bugs@postgresql.org; Tue, 23 Jun 2015 13:50:42 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lbuo0-1YiCFP0a4S-00jKYp for ; Tue, 23 Jun 2015 15:50:39 +0200 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id BE5FC207CF for ; Tue, 23 Jun 2015 09:50:37 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 23 Jun 2015 09:50:37 -0400 X-Sasl-enc: OkKEyyxRVhBV4RyrCd5nllvKr4A5rFeaVhhhNXkSKMef 1435067437 Received: from [192.168.110.184] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 7395B680106; Tue, 23 Jun 2015 09:50:37 -0400 (EDT) Message-ID: <5589642C.3000201@gmx.net> Date: Tue, 23 Jun 2015 09:50:36 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Alvaro Herrera , Tom Lane CC: Thomas Munro , Michael Gradek , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics References: <20150614063707.2734.30270@wrigleys.postgresql.org> <12238.1434304758@sss.pgh.pa.us> <20150615045056.GM133018@postgresql.org> <38161.1434372933@sss.pgh.pa.us> <1790.1434492074@sss.pgh.pa.us> <4186.1434655846@sss.pgh.pa.us> <20150618211722.GJ133018@postgresql.org> In-Reply-To: <20150618211722.GJ133018@postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:bJ/wOYcU5WyZodvzNOJpWIB3spRxhG9+HCMErh4x5vQnd81nLtR BJYU6MsJan0dz6Lik/oh+3dtIPtX8fpwzIGaHvjgUEFYkq+C7QKTiD1yDxPoG0hUa5HWbjv ej9u2fxtsgspTBguG/AFffxAJu1BMpOGK87MXyyacnq5bbYQZNokIYbbTOZd3k16Ljzlhei jHbx98nCLNRvES7/aDCog== X-UI-Out-Filterresults: notjunk:1;V01:K0:RjVW1P7WcSY=:Svwuoy3t+n/eGeT49lPSbI v5kypm4DzAdrKH2UtgbSJprL7IUH+nh5fU5yoRvlGaFE+1uy8xxFJtAYTjoxYbkfb22IEGLHs EhmSKG7e4A96CHDY1+3WXNLQ21V8LnDChOfXbiH6X2sJOkd+u5lbadkawOkUzm4yC8Y3R8lLu +UpGX4j6A+dSMFu+6BxV4jmuAFOJyii4pbt8HSuIh+mZ6IjQmlf1/+BIM7jpp73bkqr11HqzB agxkHGqhu2yJi6GTVMqhvD4RK9RWGCmFclpEioVssl5DRYETqtGfoYljXomExioezJxnoVZZG DuKIJNvTrSbN3XPct/zSctoREwaZQ6LKnBbnXWuHLxgc5nxkpOg4U40fU6jW419U9W3+gUs8r 9oEIJG1HLj5RTOoi43mg0StiKDEmNU1mgxFp0h8V3E8Usrfeko1FNdmN8qOcyXnv4jYdwCqSo fB1LCW4jGO5kuXSSFRxQc5ibp9jRHAxgil9BeELahvwi8oAY2TmsIo2zQwpNUm39rCOHJbhb1 sB5KivNApjyeaZcJRLZdFKVs0Bj3pnzb6c+7p/8JbTRzp6ITJUOPUN1JziUof5MSx29pC/cQw 92NY3WuGTy0MNukOYNBHfEDe2crwO6fEAP66enbpgY6Tc4QMZaKR6RCgPoOC2IQr7GxOT+653 h6N/6Jv3kG8xeiW5xibeDw001gaEYo28hl7k7hB40Fs5sUkjuzBvABxyaLGhWBcz8C7k= X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 6/18/15 5:17 PM, Alvaro Herrera wrote: > To me, conceptually what unaccent does is turn whatever junk you have > into a very basic common alphabet (ascii); then it's very easy to do > full text searches without having to worry about what accents the people > did or did not use in their searches. If we say "okay, but that funny > char is not an accent so let's leave it alone" then the charter doesn't > sound so useful to me. I think unaccent is one of those contrib things that are useful but not really fully thought out and therefore won't ever become an official core feature. It is what it is, and we can tweak it slightly, but thinking too hard about what it "should" do won't lead anywhere. If we wanted to do this "properly", we could do something like: perform Unicode canonical decomposition, then strip out all combining characters. I don't know how useful that is in practice, though. And it won't "solve" issues such as German ß, which probably doesn't have a one-size-fits-all solution. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs