Nov 2025

1 commit
Prevent setting a column as identity if its not-null constraint is invalid
3 Nov 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

d9ffc27291 retains the constraint lookup, convalidated check, and error diagnostics from #1 in src/backend/commands/tablecmds.c, replacing the else with an equivalent explicit attnotnull guard and adding a comment. The constraints regression files retain the principal identity test but omit the redundant combined-command test and the serial/NO INHERIT test, with minor wording and formatting edits.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
jian he1
Reviewer
Alvaro Herreracommitter1
Committer
Alvaro Herrera1