Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5gJk-0005Lf-DR for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 20:21:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5gJj-0007z7-Uc for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 20:21:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5gJi-0007z0-Rw for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 20:21:43 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z5gJf-0002MZ-KC for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 20:21:41 +0000 Received: from intern.anarazel.de (unknown [137.122.64.46]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id ECC70860001; Thu, 18 Jun 2015 22:21:36 +0200 (CEST) Date: Thu, 18 Jun 2015 22:21:35 +0200 From: Andres Freund To: Tom Lane Cc: Thomas Munro , Alvaro Herrera , Michael Gradek , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4186.1434655846@sss.pgh.pa.us> X-Pg-Spam-Score: -4.5 (----) 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 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)? Greetings, Andres Freund -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs