Re: Another issue in default-values patch: defaults expanded too soon

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Another issue in default-values patch: defaults expanded too soon
Дата
Msg-id 494A227C.203@gmx.net
обсуждение исходный текст
Ответ на Re: Another issue in default-values patch: defaults expanded too soon  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark wrote:
> Well honestly I don't see a terribly compelling use case for default arguments
> altogether. Obviously they're just a programmer convenience and don't really
> let anyone do anything they couldn't do without them.

The real payoff comes with name-based paramter lists (the name => value 
busines) and allowing defaults anywhere in the parameter list (not just 
at the end).  This is required to port many PL/SQL-using applications, 
and you can't write it any other way.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Function with defval returns error
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: uuids on freebsd