Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5gSk-0005jc-Kd for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 20:31:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5gSk-0005a7-4I for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 20:31:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5gSj-0005a1-Hj for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 20:31:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5gSf-0003x1-Sz for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 20:31:00 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t5IKUkAb003174; Thu, 18 Jun 2015 16:30:46 -0400 From: Tom Lane To: Andres Freund cc: Thomas Munro , Alvaro Herrera , Michael Gradek , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics In-reply-to: <20150618202135.GB29350@alap3.anarazel.de> 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> <20150618202135.GB29350@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 18 Jun 2015 22:21:35 +0200" Date: Thu, 18 Jun 2015 16:30:46 -0400 Message-ID: <4348.1434659446@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) 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 Andres Freund writes: > On 2015-06-18 15:30:46 -0400, Tom Lane wrote: >> Yeah, if we do anything other than adding new mappings, I suspect that >> part could not be back-patched. Maybe adding new mappings shouldn't >> be back-patched either, though it seems relatively safe to me. > Hm. Why is it safe to add new mappings? If previously something has been > indexed with accents because unaccent didn't remove them and you're now > adding a new mapping to unaccent, the tsearch query will lookup the > wrong key (with accents removed)? This is the same situation as any change whatsoever to tsearch dictionaries. The party line on that is that it usually doesn't matter much, and if it does you can rebuild your indexes. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs