2010/1/22 Tom Lane <tgl@sss.pgh.pa.us>:
> Vincenzo Romano <vincenzo.romano@notorand.it> writes:
>>> I think "variadic any" is exactly it, but too lazy to go look.
>
>> I fear there's no way!
>
>> tmp1=# CREATE FUNCTION q( fmt text, variadic args any )
>
> More like this:
>
> regression=# CREATE FUNCTION q( fmt text, variadic args "any" )
> regression-# RETURNS void
> regression-# LANGUAGE plpgsql
> regression-# AS $function$
> regression$# declare
> regression$# begin
> regression$# end;
> regression$# $function$;
> ERROR: PL/pgSQL functions cannot accept type "any"
>
> ANY without quotes is a reserved word ...
>
And this would allow for a stdarg-like argument list?
--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS