Re: Built-in case-insensitive collation pg_unicode_ci

2025-09-24 Thread Laurenz Albe
On Fri, 2025-09-19 at 17:21 -0700, Jeff Davis wrote: > > Proposal > > > New builtin case-insensitive collation PG_UNICODE_CI, where the > ordering semantics are just: > >strcmp(CASEFOLD(arg1), CASEFOLD(arg2)) > > and the character semantics are the same as PG_UNICODE_FAST.

Re: Built-in case-insensitive collation pg_unicode_ci

2025-09-21 Thread Jeff Davis
On Fri, 2025-09-19 at 17:21 -0700, Jeff Davis wrote: > -- > Versioning > -- > > Unlike other built-in collations, the order does depend on the > version > of Unicode... > That means that indexes, including primary keys, can become > inconsistent after a major version upgrade... T

Built-in case-insensitive collation pg_unicode_ci

2025-09-19 Thread Jeff Davis
Proposal New builtin case-insensitive collation PG_UNICODE_CI, where the ordering semantics are just: strcmp(CASEFOLD(arg1), CASEFOLD(arg2)) and the character semantics are the same as PG_UNICODE_FAST. This does not perform the Unicode Collation algorithm (UCA), and it is