Re: Variadic polymorpic functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Variadic polymorpic functions
Date: 2010-01-22 18:19:59
Message-ID: 4429.1264184399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)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).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincenzo Romano 2010-01-22 18:21:26 Re: Variadic polymorpic functions
Previous Message Vincenzo Romano 2010-01-22 18:10:43 Re: Variadic polymorpic functions