Re: proposal sql: labeled function params

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: proposal sql: labeled function params
Дата
Msg-id 200808151603.12021.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: proposal sql: labeled function params  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: proposal sql: labeled function params
Re: proposal sql: labeled function params
Список pgsql-hackers
Am Friday, 15. August 2008 schrieb Tom Lane:
> Hannu Krosing <hannu@2ndQuadrant.com> writes:
> > How is this supposed to interact with argument names ?
>
> Yeah, the real problem with this proposal is that it conscripts a syntax
> that we'll probably want to use in the future for argument-name-based
> parameter matching.  The proposed behavior is not nearly as useful as
> that would be.

I am not at all convinced about the proposed feature, but is that really a 
syntax we would use for function calls with named parameters?

Random googling shows me that Oracle appears to use a syntax like
   name => value

This is actually a feature that I would like to see implemented soonish, so if 
anyone has input on the possible syntax consequences, please comment.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: varchar/name casts
Следующее
От: Peter Eisentraut
Дата:
Сообщение: So what about XSLT?