Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: WIP: default values for function parameters
Date
Msg-id 200811242344.36619.peter_e@gmx.net
Whole thread Raw
In response to Re: WIP: default values for function parameters  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: WIP: default values for function parameters
Re: WIP: default values for function parameters
List pgsql-hackers
On Monday 24 November 2008 23:21:15 Pavel Stehule wrote:
> > You mean you want to avoid repeated parsing of expressions in case the
> > same expression is used as a default value for several parameters?  How
> > common would that be?
>
> no - I am reading default parameters in call statement parsing.
> Default parameters are implemented similar to variadic functions - so
> no changes on PL part - all changes are on caller part.

Then I don't understand why you need this special data type instead of using 
an array of text with nulls for parameters without default.


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: WIP: default values for function parameters
Next
From: "Pavel Stehule"
Date:
Subject: Re: WIP: default values for function parameters