Re: variadic flag doesn't work with "any" type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: variadic flag doesn't work with "any" type
Дата
Msg-id 29821.1291928919@sss.pgh.pa.us
обсуждение исходный текст
Ответ на variadic flag doesn't work with "any" type  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: variadic flag doesn't work with "any" type  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-bugs
Pavel Stehule <pavel.stehule@gmail.com> writes:
> There is missing expansion for variadic parameter from any array to
> real parameters when variadic type is "any".

That's not a bug, it's intentional.  Variadic any is intended to let the
C function accept any old parameter list.  We should not assume that we
should do something special with a parameter that happens to be an array.

Possibly variadic anyarray will do what you are after.

            regards, tom lane

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: variadic flag doesn't work with "any" type
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: variadic flag doesn't work with "any" type