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

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: proposal: variadic argument support for least, greatest function
Дата
Msg-id 501d9235-cb87-4156-b979-8e9f78c7ea05@anastigmatix.net
обсуждение исходный текст
Ответ на Re: proposal: variadic argument support for least, greatest function  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: proposal: variadic argument support for least, greatest function
Re: proposal: variadic argument support for least, greatest function
Список pgsql-hackers
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.

Regards,
-Chap


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

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: openLogOff is not needed anymore
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line