Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: WIP: default values for function parameters
Date
Msg-id 493E7539.6030408@gmx.net
Whole thread Raw
In response to Re: WIP: default values for function parameters  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List pgsql-hackers
Grzegorz Jaskiewicz wrote:
> Ok, how about
> 
> CREATE FUNCTION FOO (one int, two float8 default 3.14, three int[] 
> default '{6,7,8,90}')....;
> 
> and than SELECT FOO( 777, DEFAULT, '{1,2,3,4,5}');

Yeah, that could be a useful feature.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: operator does not exist: smallint <> smallint[]
Next
From: Zdenek Kotala
Date:
Subject: Re: cvs head initdb hangs on unixware