On 24.08.26 12:43, Ashutosh Bapat wrote:
I was wrong. It's not specified in the syntax rules. Your change is correct. In fact transformLabelExpr() does use ERRCODE_UNDEFINED_OBJECT for missing labels. I also agree with your reasoning behind not using ERRCODE_UNDEFINED_COLUMN.
ERRCODE_UNDEFINED_COLUMN is a subclass of syntax error, so I'm not sure this analysis is really valid.
