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 1q6bAR-0001BG-Fy for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 18:12:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q6b9R-0000j4-IL for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 18:11:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6b9Q-0000iu-Ra for pgsql-hackers@lists.postgresql.org; Tue, 06 Jun 2023 18:11:25 +0000 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q6b9N-000cvw-JN for pgsql-hackers@lists.postgresql.org; Tue, 06 Jun 2023 18:11:24 +0000 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-565de553de1so94924777b3.0 for ; Tue, 06 Jun 2023 11:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joeconway.com; s=google; t=1686075080; x=1688667080; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Iy6AykNwcJYxZYb769wulwxv+DFLUQ7kjJlJ71ILhh0=; b=jjp4EMt0GY6vm0ZCMUFmQOODjcUN65yyoh9MgJBR7RhB1tx9e6WQdbLiFs4rVhJmFr tYGPxKGyge8Jc6S1gm1tPiHgMS+nv04yJ20eEER3EHni++SfGPOunf3VhXnsL9QxZrKn NErtN9D4PM92nFPUzVhyhr3K7WazB2fEvrxnGb0SOMQCYagVH3MfsSIfap9qThC5n3al 4OeMclVqiztTqzR6yLCjoZr03xaOorAF8wZrkezwyDO+312R23CFeG/UZqwvzl9etpY7 YIRZKU6ZrBOPk4lT1NWoizt+wuPZDHfUrR5zmzrBV7/dFhu15hycLeO9pLbeNQADcdum DrPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686075080; x=1688667080; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Iy6AykNwcJYxZYb769wulwxv+DFLUQ7kjJlJ71ILhh0=; b=OYXVzchD+RowWCm54IhGQyDds6nE2N+KOm7WiImX66UFeeoCn/MYAWrqEGqbsTe3ji xE/6C3yie8t0AkbARHqTHry0RpEIkOiLByJld/3qFbEPKBANZxIPo4uX+6MWvXmzoSY7 k0NMAD74qakcJ2B3tuEuHMTNGZJNTexLgLV60TppaS+4lYiI8b9Y+ByiASYAu9FUVbSh Papk7rVxrKvHX28As8PewlsmxJytf+uuOhZXxP2Hp0lNaElnsXfzre6XjV7PGHR0l4OU OFyxBGU+pYXEyEDVxfk2yWdDpZsOUOHh70sBjd7coU6aBNqCVL4Gq3R8kG+ekuFT81Pp d8Gg== X-Gm-Message-State: AC+VfDxZK8LdjbMZ/Okftyop6TKKiopgpagL7BG4yK8WzmsFeQpkGp8I ECFNvLf/b+pbhxa9PDuHavT+Eg== X-Google-Smtp-Source: ACHHUZ78mNdzVFRxVCl7TLSPNUpmLNjJqG8dlBFOb7zdZj3DZ5b8sVRmWcP18gr8Xli/Zf61qNLmFw== X-Received: by 2002:a0d:cc81:0:b0:569:74f4:5b4 with SMTP id o123-20020a0dcc81000000b0056974f405b4mr3920709ywd.2.1686075079666; Tue, 06 Jun 2023 11:11:19 -0700 (PDT) Received: from [192.168.4.41] (162-239-31-113.lightspeed.dybhfl.sbcglobal.net. [162.239.31.113]) by smtp.gmail.com with ESMTPSA id y67-20020a0def46000000b00569fc679091sm327792ywe.103.2023.06.06.11.11.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 11:11:19 -0700 (PDT) Message-ID: <6b3df50c-3195-4f40-e04f-c25f489383f7@joeconway.com> Date: Tue, 6 Jun 2023 14:11:18 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Daniel Verite , Jeff Davis Cc: Peter Eisentraut , Andrew Gierth , Tom Lane , pgsql-hackers@lists.postgresql.org References: <45f0cd77-9c85-4c5e-9396-adbccdb635e2@manitou-mail.org> From: Joe Conway Subject: Re: Order changes in PG16 since ICU introduction In-Reply-To: <45f0cd77-9c85-4c5e-9396-adbccdb635e2@manitou-mail.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/6/23 09:09, Daniel Verite wrote: > Jeff Davis wrote: >> New patch series attached. I plan to commit 0001 and 0002 soon, unless >> there are objections. >> >> 0001 causes the "C" and "POSIX" locales to be treated with >> memcmp/pg_ascii semantics in ICU, just like in libc. We also >> considered a new "none" provider, but it's more invasive, and we can >> always reconsider that in the v17 cycle. > 0001 creates exceptions throughout the code so that when an ICU > collation has a locale name "C" or "POSIX" then it does not behave > like an ICU collation, even though pg_collation.collprovider='i' > To me it's neither desirable nor necessary that a collation that > has collprovider='i' is diverted to non-ICU semantics. This discussion makes me wonder (though probably too late for the v16 cycle) if we shouldn't treat "C" and "POSIX" locales to be a third provider, something like "internal". -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com