Re: variadic function support

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, "Jeff Davis" <pgsql(at)j-davis(dot)com>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: variadic function support
Date: 2008-07-14 16:49:11
Message-ID: 162867790807140949x3b98b805nc6c57a68e2b8af9c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

2008/7/14 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)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?

I prefer separate it to other patch.

regards
Pavel Stehule

>
> regards, tom lane
>

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-07-14 16:56:01 Re: variadic function support
Previous Message Tom Lane 2008-07-14 16:38:17 Re: variadic function support