2010/1/22 Tom Lane <t...@sss.pgh.pa.us>:
> Vincenzo Romano <vincenzo.rom...@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

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

Reply via email to