On 04.07.21 17:58, Tom Lane wrote:
> Domingo Alvarez Duarte <mingodad(at)gmail(dot)com> writes:
>> Here https://gist.github.com/mingodad/49291e0e9505522c66fcd3fcea4a939d I
>> posted the postgresql-13.3/src/backend/parser/gram.y with positional
>> references by named references that is supported by bison for some time now.
>
> When is "some time now"?
release 2.5 (2011-05-14)
> I do see the point about it being annoying to update $N references
> when a rule is changed. But this solution has enough downsides that
> I'm not sure it's a net win. Maybe if it were applied selectively,
> to just the longer DDL productions, it'd be worth doing?
I agree that it should be applied selectively.