Andrew Dunstan <andrew@dunslane.net> writes:
> At Tom's suggestion I am looking at allowing use of parameter names in
> SQL functions instead of requiring use of $1 etc. That raises the
> question of how we would disambiguate a parameter name from a column
> name.
Throw error if ambiguous. We already resolved this in the context of
plpgsql.
regards, tom lane