Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gemFv-0006Px-65 for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jan 2019 19:32:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gemFs-0003eX-PH for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jan 2019 19:32:40 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gemFs-0003eQ-Io for pgsql-bugs@lists.postgresql.org; Wed, 02 Jan 2019 19:32:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gemFp-00048w-3m for pgsql-bugs@lists.postgresql.org; Wed, 02 Jan 2019 19:32:40 +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 x02JWWFG023325; Wed, 2 Jan 2019 14:32:32 -0500 From: Tom Lane To: Hugh Ranalli cc: Peter Eisentraut , thomas.munro@enterprisedb.com, Daniel Verite , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15548: Unaccent does not remove combining diacritical characters In-reply-to: References: <10200.1544713542@sss.pgh.pa.us> <5d77cc08-d582-4f83-a17f-f2c992d123a9@manitou-mail.org> <16726.1544827803@sss.pgh.pa.us> <23237.1544899488@sss.pgh.pa.us> <29419.1544908811@sss.pgh.pa.us> <31564.1545078667@sss.pgh.pa.us> <522acda7-c7fe-4b2e-f134-02c73a091be9@2ndquadrant.com> Comments: In-reply-to Hugh Ranalli message dated "Wed, 02 Jan 2019 12:58:03 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23323.1546457552.1@sss.pgh.pa.us> Date: Wed, 02 Jan 2019 14:32:32 -0500 Message-ID: <23324.1546457552@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hugh Ranalli writes: > On Wed, 2 Jan 2019 at 12:41, Peter Eisentraut < > peter.eisentraut@2ndquadrant.com> wrote: >> My opinion is that we should just convert the whole thing to Python 3 >> and be done. This script is only run rarely, on a developer's machine, >> so it's not unreasonable to expect Python 3 to be available. > Well, this is definitely an edge case, but I am actually running the > patched script from a complex application installer running a > custom-compiled version of Python 2.7. The installer runs under the same > Python instance as the application. I certainly could invoke Python 3 to > run this script, it's just a little more work, so I'm happy to go with the > team's decision. Just let me know. Seeing that supporting python 2 only adds a dozen lines of code, I vote for retaining it for now. It'd be appropriate to drop that when python 3 is the overwhelmingly more-installed version, but AFAICT that isn't the case yet. regards, tom lane