Re: Variadic polymorpic functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Variadic polymorpic functions
Дата
Msg-id 4658.1264185049@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Variadic polymorpic functions  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Ответы Re: Variadic polymorpic functions  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Список pgsql-general
Vincenzo Romano <vincenzo.romano@notorand.it> writes:
> 2010/1/22 Tom Lane <tgl@sss.pgh.pa.us>:
>> Vincenzo Romano <vincenzo.romano@notorand.it> writes:
>>> So there's no way to have a function accepting a VARIADIC ANY. Right?
>>
>> Not in PL functions. �You can do it in C if you're desperate (but you
>> then have to deal with each argument individually --- they're not formed
>> into an array).

> How would then be declared such a function with the body written in C?

I think "variadic any" is exactly it, but too lazy to go look.

            regards, tom lane

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

Предыдущее
От: Vincenzo Romano
Дата:
Сообщение: Re: Variadic polymorpic functions
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: DDL question