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: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: default values for function parameters
Date: 2008-11-24 09:11:20
Message-ID: 492A6FB8.2020707@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackers
Pavel Stehule wrote:
> I have problem with sending patch, so I am send link
> http://www.pgsql.cz/patches/defaults.diff.gz
> 
> Example:
> postgres=# create function fx(a int, b int default 30, c int default 40)

Could you explain why you store the default expressions in a new posexpr 
type rather than in an array of text (compare pg_attrdef.adbin)?


In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2008-11-24 09:15:16
Subject: pgsql: Add support for matching wildcard server certificates to the new
Previous:From: Peter EisentrautDate: 2008-11-24 08:55:05
Subject: Re: TODO item: adding VERBOSE option to CLUSTER [with patch]

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