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 1sPqdp-006d4e-Rp for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jul 2024 21:38:53 +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 1sPqdn-00EYzm-PD for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jul 2024 21:38:52 +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 1sPqdn-00EYzQ-A9 for pgsql-hackers@lists.postgresql.org; Fri, 05 Jul 2024 21:38:52 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sPqdl-000cMx-OF for pgsql-hackers@postgresql.org; Fri, 05 Jul 2024 21:38:51 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1fa2ea1c443so15180805ad.0 for ; Fri, 05 Jul 2024 14:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1720215527; x=1720820327; darn=postgresql.org; 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=oYouQVgU8rbL6FWFT1qYnx/5B8/kGSPyDftMIOOEPvw=; b=2fENRoTDg8pYWTPGTtmjoZmivV6zfMzcXW+BshuybH01Y7Mqag6ZqahlAhdvVyKZXa AYmlE/dGNvUMXcoC+fPmW05FSLm78Af3hbpI5G876AGWhIcQTLf8fH2eI6nWb6KzOGJD WrZYy95BSASMfzkeE58ySV/LvG9BF5FpsncASEP6i9wO7BQrr4soYlinmSj60QJBTk/C XjhneawHmbtZDs98jnaHVaspHtJh8O5IWK1YgLQHOXt8OA5q4WqVSx19CAGw2Qw7rtrA RDebr47QIp6GUTBIr4+ihnB3/O2dm0kY7nerJnP2gccETJcf4t9uidCGJnmoVnZZimDr mPHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720215527; x=1720820327; 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=oYouQVgU8rbL6FWFT1qYnx/5B8/kGSPyDftMIOOEPvw=; b=JmtVCLtdliGtMyE9HqiqxIt1FCz4hoJBV0f1HYzGB5IvgrQcqbyGt0TOSMkeUI9Q47 gcMXvwKgmSSjkdyYCcaZ8gKgh75enr6/GKWnhDYMNPxosfxrwjz474OhS42Ji9t8Nsnh 85bOa9MHqDPcdXwBqHUhthz7Ir/dudamjv1SId+2ytl9YffVQy4LFSswdqPUVgWXvCqq 3hxIHdaIUaaa7sO8+XYu+z10bEfA/djo6cA6OI40RFG1txw77KtgkPEMSbRXXFtnKG/d ScH0tKkLwL57y1ceT8hgikvyxw+4grdIbsQFI4WzRG1ZlooqgyIvxTUb4zWsvSaOn28i rv0w== X-Forwarded-Encrypted: i=1; AJvYcCX5u6JdSjzEb+QFd4Ox5jv92i0JIkd1mvg4hLoSQG7pZ8wlbmchhskQcHsfkOAJEZz1wNL/cWtWxdYH508dp4ZBibsNDd6jkZ4yjnhY X-Gm-Message-State: AOJu0YzMJJ6PHSYdd4fkk0QzUEMlKr7TzpOi9/6PkpvvDdT/982rjqru ljZMbFX9Efxa60Ybn3pmSB6K46F8m4OSN945WjoRpdzWUSgJaoD8kjW6F2Fn6w== X-Google-Smtp-Source: AGHT+IGqdbacsT0uigAv3fGRHeqhX/rPgF11nuD+faJ6VQz0y7WlGY1wk1kY0OMEclK/atji8fJb+w== X-Received: by 2002:a17:902:d483:b0:1fb:5c3d:b8c6 with SMTP id d9443c01a7336-1fb5c3dc3e4mr12493495ad.23.1720215527026; Fri, 05 Jul 2024 14:38:47 -0700 (PDT) Received: from jeff-laptop.lan (c-76-102-242-158.hsd1.ca.comcast.net. [76.102.242.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fb27bcfc83sm44185805ad.276.2024.07.05.14.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 14:38:46 -0700 (PDT) Message-ID: <1d178eb1bbd61da1bcfe4a11d6545e9cdcede1d1.camel@j-davis.com> Subject: Re: Built-in CTYPE provider From: Jeff Davis To: Noah Misch Cc: Peter Eisentraut , Daniel Verite , Robert Haas , Jeremy Schneider , pgsql-hackers@postgresql.org Date: Fri, 05 Jul 2024 14:38:45 -0700 In-Reply-To: <20240704212641.c4.nmisch@google.com> References: <1f309153-8198-4efa-86dd-8c304ec0040c@eisentraut.org> <20240629220857.fb.nmisch@google.com> <1ecfeb4d2b1b7f119fa917d3052a3aecfaf4f425.camel@j-davis.com> <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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2024-07-04 at 14:26 -0700, Noah Misch wrote: > I think you're saying that if some Unicode update changes the results > of a > STABLE function but does not change the result of any IMMUTABLE > function, we > may as well import that update.=C2=A0 Is that about right?=C2=A0 If so, I > agree. If you are proposing that Unicode updates should not be performed if they affect the results of any IMMUTABLE function, then that's a new policy. For instance, the results of NORMALIZE() changed from PG15 to PG16 due to commit 1091b48cd7: SELECT NORMALIZE(U&'\+01E030',nfkc)::bytea; Version 15: \xf09e80b0 Version 16: \xd0b0 I am neither endorsing nor opposing the new policy you propose at this time, but deep in the sub-thread of one particular feature is not the right place to discuss it. Please start a new thread for the proposed PG18 policy change and CC me. I happen to think that around the release of the next version of Unicode (in a couple months) would be the most productive time to have that discussion, but you can start the discussion now if you like. Regards, Jeff Davis