Aug 2026

7 commits
pg_locale.c: add explanatory comments.
24 Aug 2026Jeff DavismasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #171 of 1 reviewer saw the final version

The commit retains the per-function explanations from #17 in src/backend/utils/adt/pg_locale.c, but omits the general Case Mapping Complexities section, references to it, and both collate.utf8 test changes.

  • Andres Freundsaw the final versionLLM analysis, 97% sureIn #16, Andres requested explanations of titlecase and folded strings, which became this comment-only follow-up.
Add C test function for pg_locale.h APIs.
24 Aug 2026Jeff DavismasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 100% surelanded as postedfrom patchset #170 of 1 reviewer saw the final version

The complete diff exactly matches the C test-function patch in #17, including regress.c, misc_functions.sql, and its expected output.

  • Andres Freundsaw an earlier versiontrailerIn #16, Andres endorsed direct API testing and backpatching but requested replacing the separate test cluster with regress.c, a structural revision delivered in #17.
Ensure all pg_locale.h APIs work with collate_is_c.
20 Aug 2026Jeff DavismasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 86% surepart of a posted patchsetmoderate changesfrom patchset #150 of 2 reviewers saw the final version

The strcmp/memcmp and transform fallback paths in pg_locale.c implement the collate_is_c component listed in #15, whose landing Jeff confirms in #17. This is one component of that series; unavailable attachment bodies prevent an exact edit comparison.

  • Andres Freundsaw an earlier versionLLM analysis, 94% sureReviewing the initial fix, Andres identified the analogous unguarded comparison and transformation APIs in #7, prompting the broader functional changes.
  • Heikki Linnakangassaw an earlier versionLLM analysis, 80% sureHeikki supported extending protection to the remaining APIs in #9, and the commit credits his suggestion, although no review of Jeff's implementation is visible.
pg_locale.c, unicode_case.c: use size_t for iteration.
19 Aug 2026Jeff DavisREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 85% surepart of a posted patchsetmoderate changesfrom patchset #151 of 1 reviewer saw the final version

The commit changes iteration variables to size_t in pg_locale.c, its ICU/libc implementations, and unicode_case.c, matching the iteration component listed in #15. It selects that component for the stable branches; missing attachment bodies prevent exact comparison.

  • Andres Freundsaw the final versiontrailerAndres requested size_t iteration in #10 and reviewed the follow-up series in #16, with no subsequent substantive iteration redesign indicated.
pg_locale.c: comment improvements.
18 Aug 2026Jeff DavismasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 86% surepart of a posted patchsetlight changesfrom patchset #151 of 1 reviewer saw the final version

The commit selects the missing/API-comment component listed in #15, documenting buffer contracts and correcting comments in pg_locale.c, provider files, and pg_locale.h. The attachment bodies are unavailable, so exact wording changes cannot be established.

  • Andres Freundsaw the final versionLLM analysis, 96% sureAndres identified missing API documentation in #10 and praised the improved comments while requesting further explanations in #16.
pg_locale.c: Fix REL_18_STABLE for srclen < 0.
18 Aug 2026Jeff DavisREL_18_STABLE18.7
LLM analysis, 88% surepart of a posted patchsetmoderate changesfrom patchset #150 of 1 reviewer saw the final version

Four pg_locale.c hunks normalize negative srclen with strlen(src), implementing the PostgreSQL 18 fix explicitly listed in #15. This selects that series component; the missing attachment bodies prevent verification of exact patch identity.

  • Andres Freundsaw an earlier versionLLM analysis, 98% sureAndres identified the unsupported negative-length API behavior in #10, prompting this later logic fix; his subsequent series review occurred after this commit.
Fix pg_strupper/lower/title/fold() functions to work with C locale
11 Aug 2026Heikki LinnakangasREL_18_STABLE18.6
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The complete pg_locale.c diff exactly matches #4, adding three ASCII conversion helpers and C-locale dispatch for lower, title, upper, and fold.

  • Álvaro Herrerasaw the final versiontrailerIn #5, Alvaro compared his independent libc-layer alternative with Heikki's patch and preferred Heikki's placement because it also covers the builtin provider.

Credits across 7 commits

Author
Jeff DavisLLM6
Heikki LinnakangasLLM1
Reviewer
Andres Freund2
Alvaro Herrera1
Reported by
Masashi Kamura (Fujitsu)1
Committer
Jeff Davis6
Heikki Linnakangas1

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