Re: proposal sql: labeled function params

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal sql: labeled function params
Дата
Msg-id 162867790808150554obc5b85dpd1c52dd497e911ee@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal sql: labeled function params  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: proposal sql: labeled function params
Список pgsql-hackers
2008/8/15 Peter Eisentraut <peter_e@gmx.net>:
> Am Thursday, 14. August 2008 schrieb Pavel Stehule:
>> I propose enhance current syntax that allows to specify label for any
>> function parameter:
>>
>> fcename(expr [as label], ...)
>> fcename(colname, ...)
>>
>> I would to allow  same behave of custom functions like xmlforest function:
>> postgres=# select xmlforest(a) from foo;
>>  xmlforest
>> -----------
>>  <a>10</a>
>> (1 row)
>
> Do you have a use case for this outside of XML?
>

JSON and similar (custom) protocols

Pavel


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: XML / XSL rendering in PostgreSQL server?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: varchar/name casts