Include error location in errors from ComputeIndexAttrs().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ba75f717526cbaa9000b546aac456e43d03aaf53
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2026-01-04T19:16:20Z
Include error location in errors from ComputeIndexAttrs().

Make use of IndexElem's new location field to localize these
errors better.

Author: jian he <jian.universality@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CACJufxH3OgXF1hrzGAaWyNtye2jHEmk9JbtrtGv-KJK6tsGo5w@mail.gmail.com

Files

Discussion