Re: Variadic parameters vs parameter defaults - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Variadic parameters vs parameter defaults
Date
Msg-id 49484FB7.2020004@agliodbs.com
Whole thread Raw
In response to Variadic parameters vs parameter defaults  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Variadic parameters vs parameter defaults
Next
From: Robert Treat
Date:
Subject: Re: Coding TODO for 8.4: Synch Rep