Re: Variadic polymorpic functions - Mailing list pgsql-general

From Tom Lane
Subject Re: Variadic polymorpic functions
Date
Msg-id 4658.1264185049@sss.pgh.pa.us
Whole thread Raw
In response to Re: Variadic polymorpic functions  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Responses Re: Variadic polymorpic functions  (Vincenzo Romano <vincenzo.romano@notorand.it>)
List 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 by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Variadic polymorpic functions
Next
From: Alban Hertroys
Date:
Subject: Re: DDL question