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 1tYwN6-00GhY1-Q2 for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Jan 2025 00:07:29 +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 1tYwM7-009CdV-9u for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Jan 2025 00:06:27 +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 1tYwM6-009CdN-SJ for pgsql-hackers@lists.postgresql.org; Sat, 18 Jan 2025 00:06:27 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tYwM3-0006vI-2V for pgsql-hackers@postgresql.org; Sat, 18 Jan 2025 00:06:26 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-21619108a6bso47804395ad.3 for ; Fri, 17 Jan 2025 16:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1737158781; x=1737763581; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=2H1hmEX1NlR2USZGJZasM5kGBivSSdHMejr9gnnhnx0=; b=uliv5Hxhpnthop4zK00OG7GGpbSBRI8kjBwQJFvhbCxEbPLfh4GbAX6WGfoz2t9KzO 9/eL9Thpl4+B6ARNxnMQkzhk4Nv1ltxP9VNXc4VAtDBP6epq2y1UGhu3BKrXbHVgl8cX Ach2IInLZaZJK2FUIxpkKA0Eq4fO7ekMq1sPawIycQBS6YPINtjyCNTnt0awkWncGFv7 pm+IEy5jKS71LEgKpfvLp85ghxCl9H4yhpc5vclkjqWRQgcZk7S6s8v5lRIhbMCNUU64 30A/VgATLgwnw35JC17F3W6EUclSTSuDxgIgEE3euYvq/oRjkZv/XQe3CH2ShR95fxaE 6+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737158781; x=1737763581; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=2H1hmEX1NlR2USZGJZasM5kGBivSSdHMejr9gnnhnx0=; b=babU+iPFGM/k5yIIxXsF2jfjy13iIbnJYA61T+bLrue1wmEzWxXSLewppYWgRgsj0f 2/wA/HZ89acEibIeVBeiP5a8qpHtxzCsQfSWelkaOiexj1vk50l9vXR4iyqTHGhN79ve v00/qQc427C120v9zJ79pa/D7AlnopjuMOcWV6sbYTI6Qw0AGMDGNrnY94YFbfKwQQwh uS3znwnnU4n86zffyJqsocewgoekGApIVzN4bdoKEAqMsurlVW/bilIfWAMEj5HwaJsh 7ySHgRH4j8+GYxftyXQ2FbLIXA7Htm7AflCasZqMB1mglFjvfO0Wlmq88FM4E8jvSD8v YIpw== X-Gm-Message-State: AOJu0YwyGye/uXMdOp4XiONQxCEcjHlWG8HmMJgUyVra7NDb3U1utKA3 rxTI3VfbUsbImzG16u48SdPNsvaO7aS4hYR2qlzkuj1ksOGg+WOAtwcH93YAaKIFo4LxCczEkp4 = X-Gm-Gg: ASbGnct5xwG95c8GxBE8qvmisHUKQj1IXxvLGgHCmM5/hWn7bHJe8aaFOYHHK8n9wu0 26QJcQaIM0BeyXe7du1DJr86TjJPEP9I4phPI5hNvC8SlyHTBtII+JcJCHG4abHnerOdT37iBpK cM7p7k43eQpvIN0D/YrTP14FrnmG2nS4VMhIDpVAZSSgFls6AAiF0LYfUQIq16+kpfsoFimue3z 33yzm6cFcMsjqrlluY0qaeBlUuDavpyymcPcyLAZuE4O+an2OEc5WRyXGZqDyAVeIElqXuuvG/n luP9tv39G0Dkj7h8M6HUO6mdpmzQB6kHQpXt X-Google-Smtp-Source: AGHT+IGhEzR+oHAi3TzhFdBcBmDjT688euM32BCo893FQZrae7LxmVxQ17aEhbdtG6S7Do6/VIidYA== X-Received: by 2002:a17:902:ce8a:b0:216:6855:15f with SMTP id d9443c01a7336-21c3562198emr61703495ad.51.1737158781671; Fri, 17 Jan 2025 16:06:21 -0800 (PST) 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-21c2d3aca74sm21345455ad.129.2025.01.17.16.06.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 16:06:21 -0800 (PST) Message-ID: Subject: Re: Unicode full case mapping: PG_UNICODE_FAST, and standard-compliant UCS_BASIC From: Jeff Davis To: pgsql-hackers@postgresql.org Date: Fri, 17 Jan 2025 16:06:20 -0800 In-Reply-To: <03d1416a974f7349b2415e01e85aac943fc55ba8.camel@j-davis.com> References: <179d2b9eb62ce9584177f4c863174c94de9985b7.camel@j-davis.com> <548f78d50590dfa119b21128c30c8ded5ce7e69d.camel@j-davis.com> <03d1416a974f7349b2415e01e85aac943fc55ba8.camel@j-davis.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 Wed, 2025-01-15 at 13:21 -0800, Jeff Davis wrote: > I plan to commit 0001 and 0002 soon. Committed 0001 and 0002. Upon reviewing the discussion threads, I removed the Unicode "adjust to Cased" behavior when titlecasing. As Peter pointed out[1], it doesn't match the documentation or expectations for INITCAP(). I also expanded the C tests a lot in 0001 so that it compares exhaustively against ICU for single-codepoint strings, and also added more multi-codepoint test strings. I don't plan to commit 0003 in v18, so I'm considering this series to be done for now. We can revisit whether UCS_BASIC should change behavior in 19. Regards, Jeff Davis