Nov 2025

2 commits
test_dsa: Avoid leaking LWLock tranches.
12 Nov 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1051 of 1 reviewer saw the final version

The src/test/modules/test_dsa/test_dsa.c diff exactly matches the second patch in #105, including init_tranche() and shared tranche lookup in both tests; the registry fix landed separately.

  • Sami Imseihsaw the final versiontrailerSami endorsed shared-memory storage and the series in #104, then explicitly approved the final revision in #106.
Teach DSM registry to ERROR if attaching to an uninitialized entry.
12 Nov 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #1051 of 1 reviewer saw the final version

Implements the initialized flag and named failure errors from the first patch in #105. The supplied commit and its parent use the older DSM-segment-only registry layout, so this diff omits the attachment's GetNamedDSA()/GetNamedDSHash() hunks and adapts field access and declarations.

  • Sami Imseihsaw the final versiontrailerSami reproduced the improved failure handling and requested named errors in #104, then approved their implementation in #106.

Aug - Sep 2025

4 commits
Add a test harness for the LWLock tranche code.
18 Sep 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1Also in: GetNamedLWLockTranche crashes on Windows in normal backend (modified before commit)
Revert recent change to RequestNamedLWLockTranche().
4 Sep 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1reverts 1 commit here
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #941 of 1 reviewer saw the final version

Matches the RequestNamedLWLockTranche() revert in #94 with the additional allocation-size correction requested in #95: the initial allocation actually uses NamedLWLockTrancheRequestsAllocated rather than MAX_NAMED_TRANCHES.

  • Sami Imseihsaw the final versiontrailerSami accepted the revert and identified its incorrect initial allocation size in #95, and Nathan confirmed committing that exact correction in #96.
Move dynamically-allocated LWLock tranche names to shared memory.
3 Sep 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #903 of 5 reviewers saw the final version

Lands the implementation component of #90 without its test patch. Remaining edits rename NamedLWLockTrancheNames to LWLockTrancheNames across lwlock.c, lwlock.h, and launch_backend.c and adjust comments; the commit explicitly credits Sami.

  • Bertrand Drouvotsaw the final versiontrailerBertrand repeatedly tested and reviewed the implementation, including NULL-name failures, and approved the alignment changes in #87, after which only light edits preceded landing.
  • Tom Lanesaw an earlier versiontrailerTom warned against postmaster access to dynamic structures in #10 and supported bounded names in #57 and #64, before subsequent storage and synchronization revisions.
  • Rahila Syedsaw the final versiontrailerRahila reviewed DSA copying and later found the stale declaration and questioned counter synchronization in #88, prompting the final declaration removal and explanatory comments.
  • Andres Freundsaw an earlier versiontrailerAndres challenged dynamic allocation and proposed a bounded shared array in #53 and #55, which triggered the major redesign.
  • Nathan Bossartsaw the final versioncommittercommitted the patch
Prepare DSM registry for upcoming changes to LWLock tranche names.
30 Aug 2025Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #821 of 2 reviewers saw the final version

Matches the DSM registry prerequisite last attached in #82, lowering entry-name limits and sharing one tranche between DSA and dshash while removing stored tranche-name copies. The only diff changes within that component are comment wording; the other series components were excluded.

  • Tom Lanesaw an earlier versionLLM analysis, 83% sureTom challenged the DSM registry's larger name limit in #64, prompting its reduction to NAMEDATALEN, before the separate tranche-consolidation implementation was developed.
  • Nathan Bossartsaw the final versioncommittercommitted the patch

Credits across 6 commits

Author
Nathan BossartLLM3
Sami Imseih3
Reviewer
Sami Imseih3
Bertrand Drouvot2
Nathan Bossartcommitter2
Andres Freund1
Rahila Syed1
Tom Lane1
Reported by
Alexander Lakhin2
Co author
Nathan Bossart1
Committer
Nathan Bossart6

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