Jul 2025

2 commits
Fix bogus grammar for a CREATE CONSTRAINT TRIGGER error
3 Jul 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1Also in: bogus error message for ALTER TABLE ALTER CONSTRAINT (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #162 of 3 reviewers saw the final version

The parser and regression changes match #16, with only ENFORCED documentation added in doc/src/sgml/ref/create_trigger.sgml following #17. I disagree with the attribution in thread #51178: its source #585634 dates from March, whereas this thread's matching July submission #16 is the latest source and explicitly credits Amul Sul.

  • jian heno review foundtrailerHis review in #9 concerns the ALTER CONSTRAINT execution-time patch, with no review of the constraint-trigger change visible in this thread.
  • Fujii Masaosaw the final versiontrailerHe identified the ENFORCED case in #15, accepted the revised behavior and requested documentation in #17, which the commit includes.
  • Álvaro Herrerasaw the final versiontrailerHe developed the trigger refinements in #12, #13, and #16, then added documentation and committed the final version as reported in #18.
Fix error message for ALTER CONSTRAINT ... NOT VALID
2 Jul 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #13

Commits only the ALTER CONSTRAINT patch from the three-patch series in #13, leaving its trigger changes for later. Relative to that patch, src/backend/parser/gram.y gains a comment and ERRCODE_FEATURE_NOT_SUPPORTED as requested in #14, changing the emitted SQLSTATE; regression changes match.

Credits across 2 commits

Author
Amul Sul1
Reviewer
Alvaro Herrera1
Fujii Masao1
jian he1
Co author
Alvaro Herrera1
Amul Sul1
Fujii Masao1
jian he1
Committer
Alvaro Herrera2