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/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/af164f31b9f5f00561d5831a72ab91cfe091f92e Modified Files -------------- src/backend/regex/regc_pg_locale.c | 150 ++-------------------------------- src/backend/utils/adt/pg_locale.c | 124 ++++++++++++++++++++++++++++ src/include/utils/pg_locale.h | 12 +++ src/include/utils/pg_locale_c.h | 160 +++++++++++++++++++++++++++++++++++++ 4 files changed, 302 insertions(+), 144 deletions(-)
