Hannu Krosing <hannu(at)2ndQuadrant(dot)com> writes:
> So, should this be fixed at calling / SQL side (by not allowing
> repeating argument names) or at pl side for each pl separately ?
I'm for fixing it just once, ie, in CREATE FUNCTION. I can't imagine
any scenario where it's a good idea to have duplicate function parameter
names.
However, since this is a behavioral change that could break code that
works now, I think it should be a HEAD-only change; no backpatch.
regards, tom lane