Re: Variadic parameters vs parameter defaults

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Variadic parameters vs parameter defaults
Date: 2008-12-17 01:02:47
Message-ID: 49484FB7.2020004@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Oh, and another thing --- should variadic parameters be defaultable?
> The current patch doesn't allow it but it looks more like an oversight
> than anything that was thought through. The boundary case for variadic
> parameters is a bit weird already:

From a user perspective, if we just told people "polymorphic and
variadic parameters do not accept defaults", and give people an error
message, I can't imagine anyone caring. Then we can support them
later if someone wants to troubleshoot the corner cases.

--Josh

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2008-12-17 01:06:01 Re: Coding TODO for 8.4: Synch Rep
Previous Message Gregory Stark 2008-12-17 00:55:09 Re: Variadic parameters vs parameter defaults