Re: pgsql: Clarify dynamic pl/pgsql item and add URLs.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Clarify dynamic pl/pgsql item and add URLs.
Дата
Msg-id 29051.1150391271@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Clarify dynamic pl/pgsql item and add URLs.  (momjian@postgresql.org (Bruce Momjian))
Ответы Re: pgsql: Clarify dynamic pl/pgsql item and add URLs.
Список pgsql-committers
momjian@postgresql.org (Bruce Momjian) writes:
>> o Allow function parameters to be passed by name,
>> get_employee_salary(emp_id => 12345, tax_year => 2001)

The odds of that syntax getting accepted may not be exactly zero, but
they are certainly vanishingly small.  I thought we'd agreed that a
usable syntax would be like
    get_employee_salary(12345 AS emp_id, 2001 AS tax_year)

            regards, tom lane

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