Oct 2025

7 commits
Make char2wchar() static.
21 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The commit matches the char2wchar() cleanup in #4: it makes the function static in src/backend/utils/adt/pg_locale_libc.c and removes its exported declaration while updating comments in src/include/utils/pg_locale.h.

  • Peter Eisentrautsaw the final versiontrailerPeter proposed making char2wchar() local in #3 while reviewing #2, then accepted the revised series in #5.
Remove obsolete global database_ctype_is_c.
21 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The commit exactly matches the ten-line removal in #4, deleting database_ctype_is_c from src/backend/utils/adt/pg_locale.c, src/backend/utils/init/postinit.c, and src/include/utils/pg_locale.h.

  • Peter Eisentrautsaw the final versiontrailerPeter endorsed the series overall in #3 and confirmed the final revision in #5; this cleanup remained unchanged.
tsearch: use database default collation for parsing.
21 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The commit matches the tsearch patch in #4, replacing wchar_t handling with pg_wchar and database-locale character classification in src/backend/tsearch/ts_locale.c and src/backend/tsearch/wparser_def.c.

  • Peter Eisentrautsaw the final versiontrailerPeter questioned preservation of encoding-dependent non-ASCII behavior in #3 and accepted Jeff's explanation and final revision in #5.
Add pg_database_locale() to retrieve database default locale.
18 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #21 of 1 reviewer saw the final version

The commit matches the accessor patch in #2, adding pg_database_locale() as a wrapper around pg_newlocale_from_collation(DEFAULT_COLLATION_OID) and declaring it in src/include/utils/pg_locale.h.

  • Peter Eisentrautsaw the final versiontrailerPeter's overall favorable review in #3 covers #2, whose accessor patch landed unchanged.
Add pg_iswxdigit(), useful for tsearch.
18 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #21 of 1 reviewer saw the final version

The commit matches the 51-line addition in #2, introducing pg_iswxdigit() and its builtin, ICU, and libc implementations across five files.

  • Peter Eisentrautsaw the final versiontrailerPeter's overall favorable review in #3 covers #2, whose hexadecimal-classification patch landed unchanged.
Add pg_iswalpha() and related functions.
15 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #1

The exported-character-API patch from #1 retains its structure and shared src/include/utils/pg_locale_c.h table. The commit renames the APIs to pg_isw*()/pg_tow*() and changes their fallback condition from locale->ctype_is_c to locale->ctype == NULL in src/backend/utils/adt/pg_locale.c.

pg_regc_locale.c: rename some static functions.
14 Oct 2025Jeff Davismaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #1

The commit implements the first refactoring patch from #1, renaming pg_wc_* helpers to regc_wc_*. It additionally renames pg_ctype_get_cache() to regc_ctype_get_cache() and updates its references and comments in src/backend/regex.

Credits across 7 commits

Author
Jeff DavisLLM7
Reviewer
Peter Eisentraut5
Committer
Jeff Davis7

N LLM means N of the credits come from LLM analysis, not from commit trailers.