Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aeapH-00062r-Nm for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Mar 2016 04:06:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aeapH-0003zt-8y for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Mar 2016 04:06:51 +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.84) (envelope-from ) id 1aeaoe-0003GL-CT for pgsql-bugs@postgresql.org; Sat, 12 Mar 2016 04:06:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeaob-0003Pc-Qp for pgsql-bugs@postgresql.org; Sat, 12 Mar 2016 04:06:11 +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 u2C463Wm016819; Fri, 11 Mar 2016 23:06:03 -0500 From: Tom Lane To: Peter Eisentraut cc: =?UTF-8?Q?L=c3=a9onard_Benedetti?= , Teodor Sigaev , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics In-reply-to: <56E386CD.9000705@gmx.net> 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> <56A4426F.2040108@mlpo.fr> <56BCAA91.1040208@sigaev.ru> <56BCF7A5.6020204@mlpo.fr> <56BCF98B.3040302@mlpo.fr> <56BE0BE6.5050003@sigaev.ru> <56C4E11D.5050809@mlpo.fr> <56E17AAD.6080605@sigaev.ru> <56E18614.90003@mlpo.fr> <56E18841.2000406@mlpo.fr> <56E2F496.3020904@sigaev.ru> <56E2FD12.2000102@mlpo.fr> <29444.1457720165@sss.pgh.pa.us> <56E! 386CD.9000705@gmx.net> Comments: In-reply-to Peter Eisentraut message dated "Fri, 11 Mar 2016 22:02:37 -0500" Date: Fri, 11 Mar 2016 23:06:03 -0500 Message-ID: <16818.1457755563@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Peter Eisentraut writes: > On 3/11/16 1:16 PM, Tom Lane wrote: >> Doesn't matter. We support both Python 2 and 3, and this script must >> do so as well, else it's not getting committed. > This script is only run occasionally when the unaccent data needs to be > updated from Unicode data, so it's not really that important what > language and version it's written in. Oh, okay, I'd supposed this would be part of the build process. > That said, the mentioned reason > for changing this to Python 3 is so that one can include Unicode > characters into the source text, which I find undesirable in general > (for PostgreSQL source code) and not very useful in this particular > case. I think the script can be kept in Python 2 style. Works for me, and I agree that Unicode in our source text is mostly a pain. 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