Add pg_iswalpha() and related functions.
authorJeff Davis <jdavis@postgresql.org>
Wed, 15 Oct 2025 19:54:01 +0000 (12:54 -0700)
committerJeff Davis <jdavis@postgresql.org>
Wed, 15 Oct 2025 19:54:01 +0000 (12:54 -0700)
commitaf164f31b9f5f00561d5831a72ab91cfe091f92e
tree50566eb3d225c6aa597567e6fd520508f479763f
parent688dc6299a5bda3221db99fdd957ac9edf11c8a6
Add pg_iswalpha() and related functions.

Per-character pg_locale_t APIs. Useful for tsearch parsing and
potentially other places.

Significant overlap with the regc_wc_isalpha() and related functions
in regc_pg_locale.c, but this change leaves those intact for
now.

Discussion: https://postgr.es/m/0151ad01239e2cc7b3139644358cf8f7b9622ff7.camel@j-davis.com
src/backend/regex/regc_pg_locale.c
src/backend/utils/adt/pg_locale.c
src/include/utils/pg_locale.h
src/include/utils/pg_locale_c.h [new file with mode: 0644]