pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_iswalpha() and related functions.
Date: Wed, 15 Oct 2025 19:59:31 +0000
Message-ID: <E1v97el-001s3Q-27@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1v97el-001s3Q-27@gemulon.postgresql.org>
Permalink:  ../E1v97el-001s3Q-27@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v97el-001s3Q-27@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add pg_iswalpha() and related functions.
  In-Reply-To: <E1v97el-001s3Q-27@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox