Peter Eisentraut wrote:
Gavin Sherry wrote:
We cannot use named parameter notation with functions due to overloading. Disregarding the idea of default values, consider:
create function foo(i int, j int) ...
create function foo(j int, i int) ...
That just means we cannot use the parameter name as a distinguishing factor in the overloading scheme. Which certainly makes a lot of sense to me.
To me too, It is not at all uncommon to disambiguate on the basis of the parameter type profile, and ignore for this purpose the formal names.
cheers
andrew
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend