Oct 2025

2 commits
CheckNNConstraintFetch: Fill all of ConstrCheck in a single pass
29 Oct 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

94f95d91b0 implements the same assignment relocation in CheckNNConstraintFetch as #1; the only code differences are indentation and a blank line.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch
Don't error out when dropping constraint if relchecks is already zero
28 Oct 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

d5845aa8ad exactly matches Alvaro Herrera's inline patch in #2, making RemoveConstraintById decrement positive relchecks values and otherwise warn instead of erroring. This change to src/backend/catalog/pg_constraint.c is absent from the attached patchset.

  • Ranier Vilelasaw the final versionLLM analysis, 100% sureRanier tested the inline change alongside his relcache patch and reported that DROP TABLE succeeded with warnings in #3.

Credits across 2 commits

Author
Alvaro Herrera1
Ranier Vilela1
Reviewer
Alvaro Herreracommitter1
Committer
Alvaro Herrera2