Jun 2025

2 commits
Avoid bogus scans of partitions when marking FKs enforced
5 Jun 2025Álvaro Herreramaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #162 of 2 reviewers saw the final version

Extracts the ATExecAlterConstrEnforceability() confrelid guard and NOT ENFORCED regression tests from #16, with rewritten comments and commit message. #18 explicitly confirms the split into separate validation and enforcement commits.

  • jian hesaw the final versionLLM analysis, 99% sureTested the proposed enforcement guard in #11, corrected its comment and otherwise approved #12 in #13, and endorsed the final patch in #17.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch
Avoid bogus scans of partitions when validating FKs to partitioned tables
5 Jun 2025Álvaro Herreramaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #162 of 3 reviewers saw the final version

Takes the QueueFKConstraintValidation() root-OID implementation and NOT VALID tests from #16, leaving enforcement for the separate commit confirmed in #18. Retained production logic is unchanged; committer edits rewrite comments and add self-referential, multilevel-partition regression coverage.

  • jian hesaw the final versiontrailerFound a missed-validation case in #7, tested and refined comments in #11 and #13, and endorsed the final implementation in #17.
  • Tender Wangsaw an earlier versiontrailerIdentified incomplete recursion in #5 and demonstrated unvalidated descendants in #6, before subsequent redesigns changed the implementation.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Amul Sul2
Reviewer
Alvaro Herreracommitter2
jian he1
Tender Wang1
Reported by
Antonin Houska1
jian he1
Committer
Alvaro Herrera2