"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> 2008/12/17 Peter Eisentraut <peter_e@gmx.net>:
>> That looks like a bug to me. Anything that you can do with 1 to N items
>> should also work for zero.
> no, when we discused about variadic functions we defined, so variadic
> parameter should not be empty Please, look to archive.
Yeah, the problem is to infer a datatype when there are no actual
arguments to look at. If we wanted to drop "variadic anyarray" then
the corner case wouldn't be a problem, but that cure is worse than
the disease.
regards, tom lane