2008/11/24 Peter Eisentraut <peter_e@gmx.net>:
> 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.
>
I expect some overhead with classic array - but this overhead will be
small and array of text with nulls is better variant, Tomorrow I'll
send updated version.
Regards
Pavel Stehule