Philip Yarra <philip(at)utiba(dot)com> writes:
> Without really wishing to volunteer myself: should plpgsql allow using
> parameters with the same name as the columns being referred to within the
> function, provided they're qualified as function_name.parameter?
No, because that just changes where the ambiguity is. The function name
could easily conflict with a table name. It's a mighty weird-looking
convention anyway --- on what grounds would you argue that the function
is a structure having parameter names as fields?
regards, tom lane