git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a96a8b1) | patch
Add unicode_strtitle() for Unicode Default Case Conversion.
2024年3月30日 00:35:07 +0000 (17:35 -0700)
2024年3月30日 00:35:07 +0000 (17:35 -0700)
commit 46e5441fa536b89c1123f270fdfeeb72c320b901
Add unicode_strtitle() for Unicode Default Case Conversion.

This brings the titlecasing implementation for the builtin provider
out of formatting.c and into unicode_case.c, along with
unicode_strlower() and unicode_strupper(). Accepts an arbitrary word
boundary callback.

Simple for now, but can be extended to support the Unicode Default
Case Conversion algorithm with full case mapping.

Discussion: https://postgr.es/m/3bc653b5d562ae9e2838b11cb696816c328a489a.camel@j-davis.com
Reviewed-by: Peter Eisentraut
src/backend/utils/adt/formatting.c diff | blob | blame | history
src/common/unicode_case.c diff | blob | blame | history
src/include/common/unicode_case.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /