Re: fix - function call with variadic parameter for type "any"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: fix - function call with variadic parameter for type "any"
Date: 2009-04-02 19:01:38
Message-ID: 14534.1238698898@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-04-02 19:03:08 Re: Additional DTrace Probes
Previous Message Heikki Linnakangas 2009-04-02 18:58:02 Re: [HACKERS] Mentors needed urgently for SoC & PostgreSQL Student Internships