Re: fix - function call with variadic parameter for type "any" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: fix - function call with variadic parameter for type "any"
Date
Msg-id 14534.1238698898@sss.pgh.pa.us
Whole thread Raw
In response to fix - function call with variadic parameter for type "any"  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: fix - function call with variadic parameter for type "any"  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> Our implementation of variadic parameters are not complete. The
> support of "any" type is incomplete. Modificator VARIADIC for funccall
> parameters needs transformation from ArrayExpr to standard parameters
> list.

I don't think I agree with this change.  The point of an ANY function
is that the function is going to do its own coping with the presented
arguments.  This patch takes away the flexibility to do that and instead
enforces one very restrictive view of what the intended behavior is.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [pgsql-www] Mentors needed urgently for SoC & PostgreSQL Student Internships
Next
From: Bruce Momjian
Date:
Subject: Re: Additional DTrace Probes