Re: WIP: default values for function parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP: default values for function parameters
Дата
Msg-id 13477.1228830371@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP: default values for function parameters  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:
> The default param that's in the middle. Would it be hard, or do anyone  
> objects against adding 'default' keyword there, so one doesn't have to  
> substitute default param 3, when he only wants to override 2nd in  
> funct(1,2,3) ?

Yes, and yes.  We can only allow eliminating parameters from the right,
else it becomes impossibly ambiguous.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: cvs head initdb hangs on unixware
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Sync Rep: First Thoughts on Code