Feb 2026

2 commits
Update .abi-compliance-history for AddRelationNotNullConstraints().
21 Feb 2026Álvaro HerreraREL_18_STABLE18.3
LLM analysis, 100% surewritten from the discussion, no matching patch

Neither attachment changes .abi-compliance-history; #12 proposes recording the accepted AddRelationNotNullConstraints() ABI change there. This commit adds that entry, and #13 confirms the buildfarm failure was resolved.

Avoid name collision with NOT NULL constraints
21 Feb 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.3
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #31 of 3 reviewers saw the final version

The commit retains the regression test and collision-avoidance approach from #3, but moves constraint-name extraction into DefineRelation() in tablecmds.c and initializes nnnames with list_copy(existing_constraints) in heap.c. As explained in #12, AddRelationNotNullConstraints() consequently receives names instead of CookedConstraint objects.

  • Dilip Kumarsaw an earlier versionLLM analysis, 99% sureDilip said the fix looked good and investigated related constraint-name collisions in #4 and #6, before the committer changed the argument contents and moved name extraction.
  • Hüseyin Demirsaw an earlier versionLLM analysis, 99% sureHüseyin reviewed the regression test in #7 and confirmed successful testing on PostgreSQL 18 in #9, before the committer changed the argument contents and moved name extraction.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Laurenz Albe1
Reviewer
Alvaro Herreracommitter1
Reported by
Hüseyin Demir1
Committer
Alvaro Herrera2