Re: Named arguments in function calls

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Named arguments in function calls
Дата
Msg-id 14250.1075146484@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Named arguments in function calls  (Matthew Kirkwood <matthew@hairy.beasts.org>)
Список pgsql-hackers
Matthew Kirkwood <matthew@hairy.beasts.org> writes:
> ... Perhaps:

>     select interest(amount := 500.0, rate := 1.3);

That might work, since := isn't a legal operator name.  It might pose a
conflict for clients like ECPG that like to use ":name" as a parameter
indicator, but since we don't have an identifier directly following ":"
it seems like they could cope.
        regards, tom lane


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