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:11:03
Message-ID: 200811242311.03760.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Monday 24 November 2008 11:40:31 Pavel Stehule wrote:
> I would to implement named params - and there expressions, that are
> used as default params, should not be continual. I don't store params
> as array of text because I would to eliminate repeated expression's
> parsing. So I use similar machanism used for rules or views.

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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-11-24 21:21:15 Re: WIP: default values for function parameters
Previous Message Tom Lane 2008-11-24 20:58:23 Re: literal limits in 8.3