Re: proposal: variadic argument support for least, greatest function

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: variadic argument support for least, greatest function
Дата
Msg-id CAFj8pRC_+1XjswbUtqYLrDQMCMAF_2JUxLeKWnR2sengsTJA=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: variadic argument support for least, greatest function  (David Steele <david@pgmasters.net>)
Список pgsql-hackers


po 11. 3. 2019 v 18:04 odesílatel David Steele <david@pgmasters.net> napsal:
On 3/11/19 6:43 PM, Andrew Dunstan wrote:
>
> On 3/6/19 10:24 AM, Chapman Flack wrote:
>> On 3/6/19 10:12 AM, Andrew Dunstan wrote:
>>
>>> Having reviewed the thread, I'm with Andres and Tom. Maybe though we
>>> should have a note somewhere to the effect that you can't use VARIADIC
>>> with these.
>> Perhaps such a note belongs hoisted into the functions-conditional
>> section of the manual, making a general observation that these things
>> are conditional *expressions* that may resemble functions, but in
>> particular, COALESCE, GREATEST, and LEAST cannot be called with
>> keyword VARIADIC and an array argument, as they could if they were
>> ordinary functions.
>>
>
>
> I'm going to mark this as rejected. Here's a possible doc patch

+1


ok

Pavel

--
-David
david@pgmasters.net

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: monitoring CREATE INDEX [CONCURRENTLY]
Следующее
От: Robert Haas
Дата:
Сообщение: Re: monitoring CREATE INDEX [CONCURRENTLY]