Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aVgvD-0005AS-44 for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 14:48:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aVgvC-0007Ab-78 for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 14:48:10 +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 1aVguZ-0006Rd-Rm for pgsql-bugs@postgresql.org; Tue, 16 Feb 2016 14:47:31 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aVguT-0002OJ-Sh for pgsql-bugs@postgresql.org; Tue, 16 Feb 2016 14:47:31 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1aVguP-0006QD-Ss; Tue, 16 Feb 2016 09:47:21 -0500 Date: Tue, 16 Feb 2016 09:47:21 -0500 From: Bruce Momjian To: Teodor Sigaev Cc: =?iso-8859-1?Q?L=E9onard?= Benedetti , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics Message-ID: <20160216144721.GD31273@momjian.us> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56BE0BE6.5050003@sigaev.ru> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Fri, Feb 12, 2016 at 07:44:22PM +0300, Teodor Sigaev wrote: > >>So I changed the script to handle special cases, and I added those I > >>just mentioned (you will find attached the new version of the script > >>and the generated output for convenience). > > > >Here is the patch, attached. > > I'm inclining to commit this patch becouse it suggests more regular > way to update unaccent rules. That is nice. > > But I have some notices: > 1 Is it possible to do not restrict generator script to Python V2? > Python V2, seems, will go away in near future, and it will not be > comfortable to install V2 for a single task. > 2 As it's easy to see, nowhere in sources of pgsql there is no a > UTF-8 encoding, just ASCII. I don't see reason to make an exception > for this script. How would this affect pg_trgm indexes upgraded by pg_upgrade? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs