Nov 2020

2 commits
Improve wording of two error messages related to generated columns.
23 Nov 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #61 of 1 reviewer saw the final version

The commit retains the error wording and regression-output changes from #6. It additionally changes generated-column INSERT and UPDATE SQLSTATEs from ERRCODE_SYNTAX_ERROR to ERRCODE_GENERATED_ALWAYS, discussed in #7, and reformats nearby code.

  • Dean Rasheedsaw the final versionLLM analysis, 94% sureBeyond agreeing with the wording patch in #6, Dean specifically endorsed using ERRCODE_GENERATED_ALWAYS consistently in #7, covering the additional change that landed.
Allow a multi-row INSERT to specify DEFAULTs for a generated column.
22 Nov 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #51 of 1 reviewer saw the final version

The commit implements #5 with the same regression tests and rewriter structure. Tom changes findDefaultOnlyColumns's early-exit condition from a NULL-pointer check to bms_is_empty and edits comments and formatting, explicitly reporting these changes in #6.

  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Dean RasheedLLM1
Tom LaneLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane2

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