Re: variadic function support - Mailing list pgsql-patches

From Tom Lane
Subject Re: variadic function support
Date
Msg-id 21465.1216052293@sss.pgh.pa.us
Whole thread Raw
In response to Re: variadic function support  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: variadic function support  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-patches
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> sample: select mleast(variadic array[1,2,3,4,5]);

Note this would also address Jeff's complaint about not being able to
pass zero variadic parameters:

select mleast(variadic array[]::int[]);

Looks a bit ugly but the type is specified, so it would work correctly
with polymorphic functions.

Are you intending to change this right now and resubmit, or is it
work for later?

            regards, tom lane

pgsql-patches by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: variadic function support
Next
From: Jeff Davis
Date:
Subject: Re: variadic function support