From: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Unicode full case mapping: PG_UNICODE_FAST, and standard-compliant UCS_BASIC
Date: Fri, 17 Jan 2025 16:06:20 -0800
Message-ID: <f9562cf9871805bb4d4bb6675bbd43aabee4f12a.camel@j-davis.com> (raw)
In-Reply-To: <03d1416a974f7349b2415e01e85aac943fc55ba8.camel@j-davis.com>
References: <ddfd67928818f138f51635712529bc5e1d25e4e7.camel@j-davis.com>
<179d2b9eb62ce9584177f4c863174c94de9985b7.camel@j-davis.com>
<548f78d50590dfa119b21128c30c8ded5ce7e69d.camel@j-davis.com>
<03d1416a974f7349b2415e01e85aac943fc55ba8.camel@j-davis.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pgsql@j-davis.com
Subject: Re: Unicode full case mapping: PG_UNICODE_FAST, and standard-compliant UCS_BASIC
In-Reply-To: <f9562cf9871805bb4d4bb6675bbd43aabee4f12a.camel@j-davis.com>
References: <ddfd67928818f138f51635712529bc5e1d25e4e7.camel@j-davis.com> <179d2b9eb62ce9584177f4c863174c94de9985b7.camel@j-davis.com> <548f78d50590dfa119b21128c30c8ded5ce7e69d.camel@j-davis.com> <03d1416a974f7349b2415e01e85aac943fc55ba8.camel@j-davis.com> <f9562cf9871805bb4d4bb6675bbd43aabee4f12a.camel@j-davis.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox