Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sQzUc-00CkxC-K9 for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 01:18:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sQzUb-00BM74-0A for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 01:18:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sQzUa-00BM6w-Mt for pgsql-hackers@lists.postgresql.org; Tue, 09 Jul 2024 01:18:04 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sQzUY-0018fJ-5E for pgsql-hackers@postgresql.org; Tue, 09 Jul 2024 01:18:04 +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 4691HqAl1260022; Mon, 8 Jul 2024 21:17:52 -0400 From: Tom Lane To: Noah Misch cc: Jeff Davis , Peter Eisentraut , Daniel Verite , Robert Haas , Jeremy Schneider , pgsql-hackers@postgresql.org Subject: Re: Built-in CTYPE provider In-reply-to: <20240709010545.8c.nmisch@google.com> References: <20240701230352.2c.nmisch@google.com> <20240702165145.af.nmisch@google.com> <1200e97b-3a52-43c6-8b16-20cf45f58249@eisentraut.org> <20240702230333.8d.nmisch@google.com> <20240704212641.c4.nmisch@google.com> <1d178eb1bbd61da1bcfe4a11d6545e9cdcede1d1.camel@j-davis.com> <20240706195129.fd@rfd.leadboat.com> <564325.1720297161@sss.pgh.pa.us> <20240709010545.8c.nmisch@google.com> Comments: In-reply-to Noah Misch message dated "Mon, 08 Jul 2024 18:05:45 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1260020.1720487872.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 08 Jul 2024 21:17:52 -0400 Message-ID: <1260021.1720487872@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > It sounds like you're very comfortable with $SUBJECT proceeding in its c= urrent > form. Is that right? I don't have an opinion on whether the overall feature design is well-chosen. But the mere fact that Unicode updates will from time to time change the behavior (presumably only in edge cases or for previously-unassigned code points) doesn't strike me as a big enough problem to justify saying these functions can't be marked immutable anymore. Especially since we have been faced with that problem all along anyway; we just didn't have a way to track or quantify it before, because locale changes happened outside code we control. regards, tom lane