Re: WIP: default values for function parameters

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: WIP: default values for function parameters
Date: 2008-11-24 21:44:36
Message-ID: 200811242344.36619.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-11-24 22:03:02 Re: WIP: default values for function parameters
Previous Message Peter Eisentraut 2008-11-24 21:30:14 Re: Re: [COMMITTERS] pgsql: Add support for matching wildcard server certificates to the new