Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group