Apr 2025

2 commits
Suppress "may be used uninitialized" warnings from older compilers.
17 Apr 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Tom Lane proposed initializing children to NIL and supplied replacement comment wording in #87; the commit makes exactly those changes in src/backend/commands/tablecmds.c. No attachment contains this follow-up.

Elide not-null constraint checks on child tables during PK creation
16 Apr 2025Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1Also in: Fundamental scheduling bug in parallel restore of partitioned tables (not this thread)Also in: Performance issues during pg_restore -j with big partitioned table
LLM analysis, 100% suremodified before commitlight changesfrom patchset #841 of 1 reviewer saw the final version

The ATPrepAddPrimaryKey restructuring, verifyNotNullPKCompatible helper, and SQL tests match #84, with only diagnostic hints, translator comments, and expected-output edits, including related hints in src/backend/catalog/pg_constraint.c. This contradicts the from_discussion attribution in thread #51371: its earlier attachment concerns pg_dump scheduling, whereas this thread supplies the matching April 16 patch; thread #138732 has no attached patchset.

  • Tender Wangsaw the final versiontrailerTender discussed locking risks and comment clarity for the first version in #83, then examined the final attachment's diagnostic and suggested using the constraint name instead of its OID in #85.

Jan 2025

1 commit
Remove unnecessary code to handle CONSTR_NOTNULL
7 Jan 2025Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #721 of 1 reviewer saw the final version

The CONSTR_NOTNULL branch removal in src/backend/catalog/heap.c exactly follows Jian He's #72. Differences are comment polishing and additional comment corrections in heap_create and DefineRelation; Alvaro confirmed pushing it in #73.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Nov 2024

2 commits
Silence compilers about extractNotNullColumn()
12 Nov 2024Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit implements the extractNotNullColumn cleanup discussed in #68 and shown inline in #69, with a direct return replacing the temporary variable. Alvaro explains the final decision to omit pfree in #70.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom reported the always-true comparison warning and proposed direct array access in #68, both addressed by the inline-derived fix.
Add pg_constraint rows for not-null constraints
8 Nov 2024Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #631 of 5 reviewers saw the final version

Applying #63 to its recorded base and comparing resulting files shows a local transformColumnDefinition change rejecting NO INHERIT consistently for SERIAL/IDENTITY, four added SQL cases, and cooked->conoid initialization. These final additions are explained in #65 and #67; the commit also bumps the catalog version.

  • 何建 (jian he)saw the final versiontrailerJian reviewed successive versions through #64 and #66, with his final SERIAL/IDENTITY correction incorporated as confirmed in #67.
  • 王刚 (Tender Wang)saw an earlier versiontrailerTender identified unused code and comment issues in #2 and #3, suggested a command-counter fix in #22, and reported a regression-output mismatch in #30, before subsequent logic changes.
  • Justin Pryzbyno review foundtrailerAlthough credited by 14e87ffa5c, Justin has no visible review activity in the supplied thread.
  • Peter Eisentrautno review foundtrailerAlthough credited by 14e87ffa5c, Peter has no visible review activity in the supplied thread.
  • Dean Rasheedno review foundtrailerAlthough credited by 14e87ffa5c, Dean has no visible review activity in the supplied thread.

Credits across 5 commits

Author
Alvaro Herrera1 LLM2
Bernd Helmle1
jian he1
Reviewer
Tender Wang2
Alvaro Herreracommitter1
Dean Rasheed1
jian he1
Justin Pryzby1
Peter Eisentraut1
Committer
Alvaro Herrera4
Tom Lane1

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