Re: variadic function support - Mailing list pgsql-patches

From Tom Lane
Subject Re: variadic function support
Date
Msg-id 2135.1216066968@sss.pgh.pa.us
Whole thread Raw
In response to Re: variadic function support  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-patches
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> sample: select mleast(variadic array[1,2,3,4,5]);

One other point here: in the patch as presently submitted, VARIADIC
can't be an unreserved keyword, but it seems to be enough to make it a
col_name_keyword.  Some preliminary testing says that that doesn't work
anymore after adding productions to allow the above: VARIADIC will have
to become a fully reserved keyword.  That's a bit annoying, since it's
not reserved according to the SQL spec, but it doesn't seem like a word
that's really likely to be in use as a user identifier.  Does anyone
think this issue is a showstopper?

            regards, tom lane

pgsql-patches by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: variadic function support
Next
From: "Pavel Stehule"
Date:
Subject: Re: variadic function support