Jul 2020

1 commit
Fix timing issue with ALTER TABLE's validate constraint
14 Jul 2020David Rowleymaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3+5 more
LLM analysis, 100% suremodified before commitsignificant changesfrom patchset #20 of 1 reviewer saw the final version

f1fcf2d3b2 extends #2 by unconditionally queuing both foreign-key and CHECK validation for phase 3, passing the work queue into ATExecValidateConstraint and removing validateCheckConstraint from src/backend/commands/tablecmds.c. It retains the foreign-key regression test, adds CHECK success/failure tests, and adjusts inherited CHECK evaluation order; David confirms these changes in #4.

  • Simon Riggssaw an earlier versionLLM analysis, 88% sureIn #3, Simon advocated removing the conditional timing in #2 for consistency and asked about side effects; David adopted that change and additionally reworked CHECK validation before committing.

Credits across 1 commit

Author
David RowleyLLM1
Reported by
Nazli Ugur Koyluoglu1
using SQLancer1
Committer
David Rowley1

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