Re: proposal sql: labeled function params

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: proposal sql: labeled function params
Дата
Msg-id 200808162044.39442.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: proposal sql: labeled function params  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Saturday 16 August 2008 09:38:41 Pavel Stehule wrote:
> because you have to write labels, where labels are equal with column
> names. I would to add same comfort like SQL/XML functions.

Just a thought: You might be able to design this in some way to work on top of 
named parameter calling.  Define a function with variadic arguments and allow 
passing arbitrary parameter names.  Before you can use that to implement 
xmlforest in user space you need to work out the issue of passing arbitrary 
argument types.  But that is also something that would be interesting for 
other purposes.


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Parsing of pg_hba.conf and authentication inconsistencies
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: proposal sql: labeled function params