"Pavel Stehule" <[EMAIL PROTECTED]> writes:
> no, it's little bit different

> Default is only stored parameter value. You created two functions with
> two different signatures

> myfunc(int)
> myfunc(int, int)

Yeah, we already bit this bullet with variadic functions --- if you have
        myfunc(int, float)
        myfunc(int, variadic float[])
then it's ambiguous which one should be used for call "myfunc(11, 12.5)".
The sanest answer I can see is "so, don't do that".

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to