Search Postgresql Archives

Re: Variadic polymorpic functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincenzo Romano <vincenzo.romano@xxxxxxxxxxx> writes:
> 2010/1/22 Tom Lane <tgl@xxxxxxxxxxxxx>:
>> Vincenzo Romano <vincenzo.romano@xxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux