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 1pzhs2-00017z-Tq for pgsql-hackers@arkaria.postgresql.org; Thu, 18 May 2023 17:56:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pzhr3-0003zq-Ng for pgsql-hackers@arkaria.postgresql.org; Thu, 18 May 2023 17:55:57 +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 1pzhr3-0003zh-9j for pgsql-hackers@lists.postgresql.org; Thu, 18 May 2023 17:55:57 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pzhqz-000ZiI-OG for pgsql-hackers@lists.postgresql.org; Thu, 18 May 2023 17:55:56 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-53202149ae2so1580784a12.3 for ; Thu, 18 May 2023 10:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20221208.gappssmtp.com; s=20221208; t=1684432552; x=1687024552; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=SdrCsencXP7K8h6aTopkPQ8lAnbH/fINF5P1IMK0LA8=; b=5NUpAaiDyFZtW6gvlhO/Pwm2UC9Ppt/VZoOLuHb2fX50Et0QeEgBOvq2wu/EuPUbcL BzwQbrzVE7oqB5uzgwUS5aoTRG3qvpzb+5bntcjkJ71LVRM5C+vDQ4xhl2XiE1fQYSBu RZ5/55UthzwIhTijozzqcn6RdiI4ueQqZXoZZM/ZPbI4xAjX4JpH/+M7/mPNUvvDtZfX 2gEN/aoRkT0HHqOQU6y4tQSUh/xwabkqKVVcMz5xJB3iaaFEl9psBZJXNJFfHqtP8uqF FiMqo77Z69jRJumZC6AZqNltIlA12mwQZEiiDngwgU141IoRjUoxEUV3vAQUglqCBJSE DPoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684432552; x=1687024552; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SdrCsencXP7K8h6aTopkPQ8lAnbH/fINF5P1IMK0LA8=; b=ILujWMapReEwPrDHPMxkyP37EtyxcmW11lFpnlvXjHVaoE6KxF7vJ/wqK6aZ5WXd4H mwy7I6iID+dcmZTvQfdacfki/HawPsWvkTHTLxju0RmNylFHQLtW4ywc4Jp1INW2ftns DFecg6PE4vgLaGfAgihOvOGY5gF+MhcNKnlmwyvFFfFytQoeKt7Mh7YixaE/nibrOcT7 HLGb/weHC5fUD6CBL0Ycj2MoTRcWy9R+BwFpCAK8E1b4l5gNVcHBL3V2qcxE7Wqs5KIs QWDUjguwCsHw2ZgVtVcLV9xGD/9WZ6ytcg7pGRLyy7dfbqUdPDVkGZyqYUSr7+h87W2a 6hTA== X-Gm-Message-State: AC+VfDwu5F6utyhhhMEdOVQZ3nSzzx0pvLQKFhaZV+2/aaJLks/HnA6R IkOyAjB/BDz7ntToGba31PkMbq3wUVFZDHpjgfE= X-Google-Smtp-Source: ACHHUZ6NitwAdPB0AC4EWC7K5dbR/LdPOJEffL02EVuSYSxeehpHKip9XaPIRRx+VyRU2bU9LALeFg== X-Received: by 2002:a17:902:d511:b0:1ae:6720:8e01 with SMTP id b17-20020a170902d51100b001ae67208e01mr4120217plg.20.1684432552377; Thu, 18 May 2023 10:55:52 -0700 (PDT) Received: from [172.18.7.14] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id z14-20020a170903018e00b001a64ce7b18dsm1736179plg.165.2023.05.18.10.55.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 10:55:51 -0700 (PDT) Message-ID: Subject: Re: Order changes in PG16 since ICU introduction From: Jeff Davis To: "Jonathan S. Katz" , Robert Haas Cc: Tom Lane , Regina Obe , Peter Eisentraut , Sandro Santilli , pgsql-hackers@lists.postgresql.org Date: Thu, 18 May 2023 10:55:49 -0700 In-Reply-To: <52553877-7966-e25f-6c74-a974a504250e@postgresql.org> References: <000b01d97465$c34bbd60$49e33820$@pcorp.us> <3353947.1682092131@sss.pgh.pa.us> <533d93c5-f604-8e5f-4a48-975c08c53d59@enterprisedb.com> <3365333.1682098091@sss.pgh.pa.us> <002d01d97477$f0395640$d0ac02c0$@pcorp.us> <3367226.1682099185@sss.pgh.pa.us> <003b01d9747a$910471c0$b30d5540$@pcorp.us> <3368986.1682099982@sss.pgh.pa.us> <000001d9747d$066b7560$13426020$@pcorp.us> <3372735.1682101425@sss.pgh.pa.us> <7ee07b7d5aa4fb0b47e5657640568fdd25ba168f.camel@j-davis.com> <2ffe8ffb9291b9390b9ed6c1e34b4fae8e8ce324.camel@j-davis.com> <25787ec7-4c04-9a8a-d241-4dc9be0b1ba3@postgresql.org> <605324592391599a7ecd522087edbd00720793b7.camel@j-davis.com> <52553877-7966-e25f-6c74-a974a504250e@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2023-05-17 at 19:59 -0400, Jonathan S. Katz wrote: > I did a quicker read through this time. LGTM overall. I like what you > did with the explanations around sensitivity (now it makes sense). Committed, thank you. There are a few things I don't understand that would be good to document better: * Rules. I still don't quite understand the use case: are these for people inventing new languages? What is a plausible use case that isn't covered by the existing locales and collation settings? Do rules make sense for a database default collation? Are they for language experts only or might an ordinary developer benefit from using them? * The collation types "phonebk", "emoji", etc.: are these variants of particular locales, or do they make sense in multiple locales? I don't know where they fit in or how to document them. * I don't understand what "kc" means if "ks" is not set to "level1". Regards, Jeff Davis