From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Ian Lawrence Barwick <barwick(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Add CASEFOLD() function. |
Date: | 2024-12-12 18:30:04 |
Message-ID: | ab1bdabcf64d799692ddaa5b06b5ef8afe94a0ef.camel@j-davis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 2024-12-12 at 21:52 +0900, Ian Lawrence Barwick wrote:
> and it seems to work as advertised, except the function is named
> "FOLDCASE()"
> in the patch, so I'm wondering which is intended?
Thank you for looking into this, I went back and forth on the name, and
mistyped it a few times.
ICU seems to use "foldcase":
https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ucasemap_8h.html
and it seems to be slightly more proper grammatically (with "fold"
being the verb). However, "case folding" is common terminology in
Postgres and Unicode, so "casefold" can be seen as the verb instead.
I don't have a strong opinion here so I will just go with whatever
seems like the popular choice.
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2024-12-12 18:55:00 | Re: Add CASEFOLD() function. |
Previous Message | Jeff Davis | 2024-12-12 18:20:14 | Re: fixing tsearch locale support |