Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ka7gE-0000Tp-CO for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Nov 2020 01:33:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ka7gD-0006QT-Ah for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Nov 2020 01:33:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ka7gD-0006QL-3y for pgsql-hackers@lists.postgresql.org; Wed, 04 Nov 2020 01:33:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ka7gB-0002Az-5D for pgsql-hackers@postgresql.org; Wed, 04 Nov 2020 01:33:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0A41XRCp1099315; Tue, 3 Nov 2020 20:33:27 -0500 From: Tom Lane To: Thomas Munro cc: David Rowley , Julien Rouhaud , Peter Eisentraut , Michael Paquier , Robert Haas , Laurenz Albe , Douglas Doole , Christoph Berg , Pg Hackers , =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= Subject: Re: Collation versioning In-reply-to: References: <20200813095204.f7mlgdzsbaxa3mzr@nol> <20200814073746.GF2057@paquier.xyz> <20200814090235.ifld2qvaw43pzpzg@nol> <20200907031741.GK2455@paquier.xyz> <20200908144507.GA57691@nol> <20200924094854.abjmpfqixq6xd4o5@nol> <686359.1604339499@sss.pgh.pa.us> <1046810.1604440349@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 04 Nov 2020 14:20:45 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1099313.1604453607.1@sss.pgh.pa.us> Date: Tue, 03 Nov 2020 20:33:27 -0500 Message-ID: <1099314.1604453607@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > I can't bring myself to commit that, it's not really in the spirit of > this data integrity feature, and it's not our business to second guess > the relationship between different locale naming schemes through fuzzy > logic. Instead, I propose to just neuter the feature if Windows > decides it can't understand a locale names that it gave us. It should > still work fine with something like initdb --lc-collate=en-US. Here's > an untested patch. Thoughts? Works for me, at least as a short-term solution. regards, tom lane