Sami Imseih <samimseih(at)gmail(dot)com> writes:
> Looking further into this improvement, I started to question if it is
> necessary to make columns unique for EXPLAIN purposes?
Yes, otherwise references to them elsewhere in the plan will be
ambiguous.
It looks like your proposal tries to dodge that by unique-ifying
in some cases but not others, which strikes me as a totally
random and confusing thing to do.
Is there any reason to think that 52c707483 wasn't a sufficient
response to this issue?
regards, tom lane