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 1q72Xn-0007Sj-K5 for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2023 23:26:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q72Xk-0004HA-U9 for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2023 23:26:20 +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 1q72Xk-0004H0-KP for pgsql-hackers@lists.postgresql.org; Wed, 07 Jun 2023 23:26:20 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q72Xe-000nBZ-WF for pgsql-hackers@lists.postgresql.org; Wed, 07 Jun 2023 23:26:19 +0000 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-25695bb6461so890627a91.1 for ; Wed, 07 Jun 2023 16:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20221208.gappssmtp.com; s=20221208; t=1686180374; x=1688772374; 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=qqu4Cr55dhvG+s6BGdZmZMA8VtXglGa3GuJV0ZsgndY=; b=JqJ2XUxjGyKEUasi5yPiu5Vecivb6OPZgfRbt9Y1MQeDNSvg2QULUZ7BGu08H5SpWS fSzTsC+JyUDwgOiKxy33EMWzQibk5CZKNZTl3FNm/kz4gz+TPkz8PLKQcYw4R6NkpBw/ SqTTt+d4nJzui2PKYEceRXQ7i8vWvg0jOzOI0YCuLRdlWsVaYm1wYAyivZ0oPaZUYj1K aUS9B707JzjKoc74gpC7AZuq751BTgdt+YXQZdMzGDSLtXC61gvvBU5gNpO6isSLTXOM lTEDE1V9DNsZcTrHkRfzACcLChD2KouY4TzfJsb4Irl4WJu+4rxAOpNE3xkxnsJESOs9 8xrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686180374; x=1688772374; 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=qqu4Cr55dhvG+s6BGdZmZMA8VtXglGa3GuJV0ZsgndY=; b=X1O53NL5xlyHkJ7xvXF5Q25HqXCnfpCk0/WN6RzfbOrbFxaPHgHzX3+5aWf0FiCcmV P2zXVoXd7ZaUiQ4nnvIPOuWVaXo/N26Z18eLDgR5wM88j+xJKqXiAeS2Ha6CM/bD1kyC HtrH6ky7/tBUoAbYYUJm0iwUsRca2sZ3GF+dsxJlbxYYZQmQBwiyQFrCywbjMuyMmvkX CP6L0ePfHYXYj2kTOYTfbsCbgr/2jjVixV5Oe3xQf8C++fR7QXgq6E6ePD8CoieVXXJv VcVlnhXCG8fw29imhvec/IJbJ20HwUFLHsWrHx+ar26VCEyJnT7j2eB1cWBzVfNu/+5/ xKzA== X-Gm-Message-State: AC+VfDzgyixe8UESNfjof0Jg/IGXFFyryH7KyOQ9H+v1XUeoJJRyz6/w 0C2rOF12RAgy/zpPDXkhAw08Hg== X-Google-Smtp-Source: ACHHUZ62Jo9C+RtVl2VDD/SxHpOnDsOB+ruk3ijg1UqvKyucipp3QIArOy5Anklzjo52Zhm7bwKnXg== X-Received: by 2002:a17:90a:c981:b0:253:3eb5:3ade with SMTP id w1-20020a17090ac98100b002533eb53ademr552402pjt.8.1686180374094; Wed, 07 Jun 2023 16:26:14 -0700 (PDT) Received: from [172.18.7.14] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id e10-20020a63d94a000000b005308b255502sm9498589pgj.68.2023.06.07.16.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 16:26:13 -0700 (PDT) Message-ID: Subject: Re: Order changes in PG16 since ICU introduction From: Jeff Davis To: Peter Eisentraut , Daniel Verite Cc: Andrew Gierth , Tom Lane , pgsql-hackers@lists.postgresql.org Date: Wed, 07 Jun 2023 16:26:12 -0700 In-Reply-To: <0f03fa26-741c-b1ee-12ab-566116451ab1@eisentraut.org> References: <543e4ce6-8205-4aea-b54b-12b9ef747bf6@manitou-mail.org> <654a49f7ff7461bcf47be4181430678d45f93858.camel@j-davis.com> <37520ec1ae9591f83132f82dbd625f3fc2d69c16.camel@j-davis.com> <5111ffef640ec7ed5b75d9791dd18d821e96c31e.camel@j-davis.com> <0f03fa26-741c-b1ee-12ab-566116451ab1@eisentraut.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 Thu, 2023-06-08 at 00:11 +0200, Peter Eisentraut wrote: > On 05.06.23 19:54, Jeff Davis wrote: > > New patch series attached. >=20 > Could you clarify what here is intended for 16 and what is for later? I apologize about the patch churn here. I implemented several approaches to see what feedback I get, and now it looks like we're returning to a previous idea (the "builtin" provider). In v16: 1. We need LOCALE to apply to all providers. 2. We need LOCALE=3DC to give the memcmp/pg_ascii behavior in all cases (unless overridden by a separate LC_COLLATE or LC_CTYPE parameter). Those are the biggest problems raised in this thread, and the patches to accomplish those things are in scope for v16. After we sort those out, there are two loose ends: * What do we do in the case where the environment has LANG=3DC.UTF-8 (as some buildfarm members do)? Is an error acceptable in that case? * Do we move icu_validation_level back to ERROR? Regards, Jeff Davis