Jan 2026

2 commits
Add parse location to IndexElem.
4 Jan 2026Tom Lanemaster19beta1REL_19_STABLE19beta1Also in: weird ON CONFLICT clauses (not this thread)
LLM analysis, 99% suremodified before commitlight changesfrom patchset #31 of 1 reviewer saw the final version

The first patch in #3 matches the committed IndexElem prerequisite, including synthetic-location initialization in bootparse.y and parse_utilcmd.c; its December 31 submission supersedes the December 12 source #608944 claimed by thread #52761, so that thread's ownership verdict is inconsistent with the latest-matching-patchset rule. Committer edits remove redundant grammar assignments, access locations directly, reposition initializations, add a catalog-version bump, and move insert_conflict.out expectations from the second patch.

  • Tom Lanesaw the final versiontrailerTom committed the IndexElem prerequisite with cleanup and reported using the location field directly in #7.
Include error location in errors from ComputeIndexAttrs().
4 Jan 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #31 of 1 reviewer saw the final version

The second patch in #3 supplies the ComputeIndexAttrs implementation and regression changes; the commit uses attribute->location directly, fixes ereport parentheses also corrected in #4, and adjusts comments. The insert_conflict.out changes moved to the prerequisite commit, while the ALTER TABLE extension from #4 was omitted.

  • Tom Lanesaw the final versiontrailerTom explained why constraint-column locations needed separate work in #6 and committed the revised implementation, reporting his direct-location cleanup in #7.

Credits across 2 commits

Author
Alvaro Herrera1
jian he1
Reviewer
Tom Lane2
Co author
jian he1
Committer
Tom Lane2